PDA

View Full Version : How to change number format in a table column dynamically



mtan12
12 Feb 2014, 7:40 AM
Hi,

I have a combobox that allows a user to set the number of precision for a table and I was wondering how to change the config of a number column after render?

I tried the code below, but it didn't work


panel.down('#Table').columns[1].format = formatString;
panel.down('#Table').columns[2].format = formatString;

scottmartin
12 Feb 2014, 8:13 AM
Have a look at the renderer for the column