I have a grid, and I need to add an attribute to the TD of the grid cell (not the header, the cell in the grid itself). It will probably be the same text at the column header, so I'd like to just define it in the gridcolumn
xtype when I'm creating my columns. In doing some research I've found a tdAttrs
config which I think would help, but I'm not entirely sure how to implement it. Can anyone offer some pointers? If that's not the right direction to be looking, please let me know as well.
Also, I need this to be added to ALL the gridcolumn
s in my application, so would I need to add an override for ext.grid.column.Column
or put it somewhere else?