Hello,
i use the grid with AppStyling.
Is it possible to Change only the row Color at runtime (but all other Settings from the AppStyling)?
Thank you for your help.
Ronald
Hi Ronald,
You need to change Appearance of of each UltraGridRow object and it can be done inside your event handler of InitializeRow. You don't need to mess with an isl file.
Best Regards,Shaolin
Thank you for posting in our forums!
Yes, this is possible.
Just open the ISL file with your favorite text editor and you will see that the ISL file is actually an XML based document where each style node has state child nodes. The style you should be looking for is with attribute role equal to “GridRole”. In case you do not want the style library to override a particular appearance or an element, you can just delete the entire style node or state child node corresponding to the appearance you would like to be removed. After the style library (ISL file) is modified as per your requirement, you will be allowed to set the row appearance at runtime.
Please let me know if you have any additional questions.