Hello everybody,
Well I have a lot of dbgrids in several pages, and I need to set each one the first column Sorteable like numeric. If I can set the width with javascript, is there a way to do the same with SortType?
I can easily do this :
PHP Code:
grid.getTableColumnModel().setColumnWidth(0,80); //col,width
but I can't use this:
PHP Code:
grid.getTableColumnModel().setColumnSortType(0) ='stNumeric';
I can handle it with design time, but I might create always one by one each column in all of my grids. So it's better for me just add one or two more lines in javascript. Or in php, but i think the correct is javascript.
Thanks in advance