Hello, my code is:
cre_grid = new dhtmlXGridObject('cre_grid_container');
cre_grid.setImagePath("dhtmlx/imgs/");
cre_grid.setHeader("Договор,Услуга,ФИО,Адрес,Дата заключения,Ответственный менеджер,Статус");
cre_grid.setInitWidthsP("*,*,*,*,*,*,*");
cre_grid.setColTypes("ro,ro,ro,ro,ro,ro,ro");
cre_grid.setColSorting("str,str,str,str,str,str,str");
cre_grid.setColAlign('center,center,center,center,center,center,center');
cre_grid.init();
cre_grid.loadXML("%%xml_cre%%");
cre_grid.enableAutoHeight(true);
So, when width of column is set as *, sorting increases width of all table…
How can I repair it?