Hello, when using the grid’s sorting function, the icon indication the sort direction is put into the wrong column. It works find with all columns before the auto-size column. All following-columms are not correct.
You can see the example here:
########.com/de/grid.php
Sorting on “Hersteller” (=manufacturer) works fine. Sorting on “Product” or “Price” puts the icon into the next column.
Any idea?
Thank you,
Mike
Problem with sorting marker and flexible columns confirmed.
As fast solution change existing code
mygrid.loadXML(gridQString+(gridQString.indexOf("?")>=0?"&":"?")+“orderby=”+ind+"&direct="+direct);
mygrid.setSortImgState(true,ind,direct);
To the
mygrid.loadXML(gridQString+(gridQString.indexOf("?")>=0?"&":"?")+“orderby=”+ind+"&direct="+direct,function(){
mygrid.setSortImgState(true,ind,direct);
});