ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Auto Increment and Update ID in grid
Title:
B
I
{code}
?
Hi, I want to populate the grid with ID that are automatically incremented on create a new row and on deletion the ID's of all the rows should be updated accordingly? can you let me now how can i achieve this using awesome grid?
Save Changes
Cancel
warlok
asked at 12 May 2016
this doesn't depend on the grid, the grid is just displaying data; having said that, all our crud demos are using entities with autoincrement ids, the main demo is using a fake Db class, and prodinner demo (http://prodinner.aspnetawesome.com) is using a real SQL Db, and EF, you can download the code
at 12 May 2016
Omu
On deletion i want to reload/refresh the data in the grid. Let me know where can i call the reload?
at 12 May 2016
warlok
call $('#gridid').data('api').load() in the success func of the delete popupform
at 12 May 2016
Omu
Answers
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