3.2.0

how to make SelectorWidth dinamic?

i have this one but first time grid load dont work, i make reset grid and this work fine, some one know how can i make this dinamic?

obj.onTotalRowChanged = function(value) {
var sTlen = this.getTotalRowCount().toString().length;
if ( sTlen>2 ){
this.setSelectorWidth(parseInt(sTlen*8));
}else{
this.setSelectorWidth(20);
}
};
icthux
July 27,

This topic is archived.

See also:


Back to support forum