Supial
11 Jan 2012, 11:39 PM
Greetings,
I want to use the new Action column in ExtJS 4, however, the attributes of the Items are defined in the grids data store. For example, the "icon" attribute is defined in the data and can be different on a row-by-row basis. There are also data values which will indicate if the Action should be invoked - making it "read-only" so the icon will display, but will be greyed out via CSS.
Is this possible using the Ext.grid.column.Action component? If so how?
Can I use a "Renderer" function to define the Item's attributes?
I'm currently using a standard grid column for each action item, but want to use the new Action column which seems to be more clean.
Cheers,
Marcel
I want to use the new Action column in ExtJS 4, however, the attributes of the Items are defined in the grids data store. For example, the "icon" attribute is defined in the data and can be different on a row-by-row basis. There are also data values which will indicate if the Action should be invoked - making it "read-only" so the icon will display, but will be greyed out via CSS.
Is this possible using the Ext.grid.column.Action component? If so how?
Can I use a "Renderer" function to define the Item's attributes?
I'm currently using a standard grid column for each action item, but want to use the new Action column which seems to be more clean.
Cheers,
Marcel