Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9132199
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:16:15+00:00 2026-06-17T08:16:15+00:00

I have 1 table with in which i need to compare the values. If

  • 0

I have 1 table with in which i need to compare the values. If they dont match highlight those table view cell.

Table has column

XXX YYYY

MH_01 MH_02

MH_02 MH_03

MH_04 Mh_05

What it need to check is that row[1]YYYY=row[2] XXX if not then it should highlight that cell in a row. like in this example it will highlight(YYYY-(MH_03) and xxxx(MH_04).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T08:16:16+00:00Added an answer on June 17, 2026 at 8:16 am

    Implement transient properties on your model object for the next and previous entry. Then create two more transient properties on your model object to return a NSColor or whatever you need to display the highlighting of the cell.

    You can then either populate the next and prev properties in your table’s datasource. If you are using NSArrayController as a datasource, you can easily subclass NSArrayController to populate next and previous for you.

    -(NSArray *)arrangeObjects:(NSArray *)objects
    {
        NSArray * arrangedObjects = [super arrangeObjects:objects];
    
        NSManagedObject * previousEntry;
        for (NSManagedObject * entry in arrangedObjects)
        {
            [previousEntry setValue:entry forKey:@"nextEntry"];
            [entry setValue:previousEntry forKey:@"prevEntry"];
            previousEntry = entry;
        }
    
        return arrangedObjects;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table in which I need both the values to be primary
I have table which contains double values stored in mysql database ...I need to
I have a simple table view which is editable. All I need the user
I have a column 'name' in Database which has values as 'john,smith'. I'm passing
I have a table called tester which I need to overlay with a temporary
I have a rather large table which I need to query for a reporting
Hi I have a table which references itself and I need to be able
I have a table into which new data is frequently inserted. I need to
I have one table TABLE_SUBJECT which contain a number of subjects. I need to
I have a table in mysql which is not normalized and I need to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.