Copy link to clipboard
Copied
Hi,
I have a datagrid with content loaded but I want to disable the "mouse over" and "mouse click" on specific rows. Also, I want to change the colour of the disabled rows as to give an indicator to the user, that these specific rows are disabled.
I thought this would be easy to do but for the life of me, I cannot find any solutions online.
ANY help with this problem would be very much appreciated.
Thanks in advance.
Copy link to clipboard
Copied
you'll need to make custom class that extends the cellrenderer class. Adobe ActionScript 3.0 * Customize the DataGrid component
Copy link to clipboard
Copied
Thanks kglad.
Ive added an extra value into the myDP array "disable:true": e.g.
{firstName:"Winston", lastName:"Elstad", note:aLongString, item:100, dissable:true}
And Im using the "MultiLineCell" cellRenderer as a base to start from.
How can I catch that value and disable that particular row within the "cellRenderer"?
Copy link to clipboard
Copied
i don't have the api memorized so i would look at the available datagrid and related properties, methods and events, Adobe ActionScript® 3 (AS3) API Reference
Find more inspiration, events, and resources on the new Adobe Community
Explore Now