Notifications
Announcements
No record found.
I am trying to change background color of a column in my grid but whole row is being highlighted. I have grid in which i placed a group that contains all my fields to be displayed on grid. I tried using
_options.affectedElementsByField(fieldNum(TableName, ColumnName));
but after using it all styling is being cleared.
My problem has been resolved. Thanks
HI Atiq,
Can you share your solution?
That can help more people, and can close your thread, many thanks.
Sorry for being late.The following steps lead to the solution1- Change Auto Declaration property of my grid column to Yes
2- Override the DisplayOption method of datasource
3- then use _options.affectedElementsByControl(columnName.id()) , it will only apply the changes on desired cellP.S. columnName is the column that`s Auto Declaration property is turned to Yes
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 664 Most Valuable Professional
André Arnaud de Cal... 522 Super User 2025 Season 2
Sohaib Cheema 303 User Group Leader