I'm a noobie, so please bear with me.
I have a grid column numeric field, and when the value = 99, I'd like to not display that value (see attached image).
So I have an afterRender event binding and I'm trying to do something like this but know that it's not right...
I'm sure I'm way off track... what is the best way to accomplish my goal? Thanks.
I have a grid column numeric field, and when the value = 99, I'd like to not display that value (see attached image).
So I have an afterRender event binding and I'm trying to do something like this but know that it's not right...
Code:
//-- If month = 99, hide it var index = filegrid.items.findIndex('dataIndex','VSMONTH'); If index = 99{ filegrid.getAt(index).setVisible(false); };
Comment