I have one slider and one grid. I try to use:
$$('slider').attachEvent('onchange',function(){
$$('column_0').define("width",this.getValue())
})
where column_0 is a field.
but don’t work.
I have one slider and one grid. I try to use:
$$('slider').attachEvent('onchange',function(){
$$('column_0').define("width",this.getValue())
})
where column_0 is a field.
but don’t work.
$$() method can be applied only views. Try the following:
$$(“grid1”).config.fields[“column_0”].width = this.getValue();
$$(“grid1”).render();
Thank you Alex it work.