Home › Forums › Bugs › Icons not change after delete
Hi folks,
After deleting a record in a tree-view grid, the icons not change.
For example, a parent with a single leaf only: when I delete this single leaf,
Hello,
This is not automatically done, since you do custom delete.
You alredy have a solution – reloading the grid.
Regards
tony said: Hello, This is not automatically done, since you do custom delete. You alredy have a solution – reloading the grid. Regards
tony said:
Hi Tony,
I don't have a solution, the refresh i'm doing is clicking on Refresh button in the browser.
Now I did:
afterSubmit: function(response, postdata){
window.location.reload();
return [true, 'ok'];
}
I don't really like this solution because the main aim of this function is to return array and i'm suppresses it when doing the reload.
Any other idea?
What about reloading the grid after delete and not the whole page.
$(“#grid”).trigger(“reloadGrid”); – this reload the grid.
Also if you use build in delete dialog you can just set – reloadAfterSubmit : true.
tony said: Hello, What about reloading the grid after delete and not the whole page. $(“#grid”).trigger(“reloadGrid”); – this reload the grid. Also if you use build in delete dialog you can just set – reloadAfterSubmit : true. Regards
Hi,
Look, the grid is reloaded the with new data but the icons are not change.
There is no way to “recalculate” the tree and show the right icons?
Yair
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS