dojo - How to put Serial Number in dojox grid rows -
how can insert row number serial number in each dojo grid rows?? must not change grid filtered or sorted.. idea??
the solution found use 'get' in grid structure
add
function siformatter(index){ return index + 1; }
and add structure of grid -
{field: "si", name: "#", : siformatter, filterable: false}
disable sort column using cansort function in grid
donno if there other better solutions..
Comments
Post a Comment