Thanks for the replay, and also what about this code:
$('#dg').datagrid('removeFilterRule');
It only deletes the filter but the data remains the same, this isnt really helping and it looks like a bug,
Why when removing the filter it doesnt return back the data without the filters? just like manually deleting the filter.
and is there a way to achieve
$('#dg').datagrid({
nowrap: false,
autoRowHeight: true
});
without re-creating the datagrid? he is created with nowrap: true and autoRowHeight: false and I need to dynamically change this properties.
Thanks!