ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Reload grid when using Edit in inline editing grid
Title:
B
I
{code}
?
I am using inline editing awesome grid. I want to reload my grid when I click on save button after edit. How to achieve that. so, when an item is saved, all the rows in the grid change, so I need to update the whole grid
Save Changes
Cancel
Tanuj Shrivastava
asked at 19 Sep 2016
Answers
B
I
{code}
?
you'll need an event to be triggered on save, and atm there is no event but you can add it by editing awem.js find $grid.on('click', '.gsavebtn' and before if (rdata.Item) { put this line: $row.trigger('aweinlinesave'); and now you can bind to this event in your page: $(function () { $(document) .on('aweinlinesave', function(e) { $(e.target).closest('.awe-grid').data('api').load(); // reload grid }); });
Save Changes
Cancel
Omu
answered at 20 Sep 2016
thanks a lot, it works perfectly
at 21 Sep 2016
Tanuj Shrivastava
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK