Notifications
Announcements
No record found.
Hi,
I Have to highlight the selected active record with Green color. How to achieve this. Give me some code samples to be done on Active Method.
Regards,
Ram.
If you really mean active record(s), use ActiveForeColor and ActiveBackColor properties of the grid.
If you want to set color based on some data in the grid, override displayOption().
active() method isn't useful in either scenario.
Hi Martin,
If i select some records it must be highlighted. How to use ActiveForeColor and ActiveBackColor properties in the Grid.
Ram
Can you please elaborate what you mean by "to select"? I'm not completely sure that we're talking about the same thing.
What problem do you have with those properties?
If i Select one record only in grid it should be Highlighted with Green Color. If i Multiselected it should be also highlighted with Green Color.
I believe I used ActiveForeColor/ActiveBackColor in Axapta 3.0 and the documentation says it can be used in AX 2012, but when I tried it, it doesn't seem to work. I managed to the column's background color displayed for the single currently active record, but the selection of multiple records seems to always use the color from Windows scheme.
Yeah It Hasn't work for me, Can You Please Give me some other suggestions through code.
I Have to Change the color of the Active Rows in a Grid. I Have Chosen the records as shown in image below. These records are highlighted in blue color by default. My requirement is i have to Highlight those Active Rows with green color. Please provide some suggestions.
You already have another thread for this question: How to Highlight the Active Records in a Grid. Please keep the discussion there.
Would you please provide me the solution here.
Hi Ram,
Why do you have to do that?
I mean what value do you add by changing the color of the active record?
To me this sounds like something 'very nice to have' and unless this is absolutely essential, I would doubt the necessity of this modification.
Can you explain why this is needed?
Best regards,
Ludwig
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 551 Most Valuable Professional
André Arnaud de Cal... 450 Super User 2025 Season 2
BillurSamdancioglu 278 Most Valuable Professional