EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
September 13, 2025, 02:23:44 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
Datagrid deleteRow and MVC
Pages: [
1
]
« previous
next »
Print
Author
Topic: Datagrid deleteRow and MVC (Read 8600 times)
jingalls
Newbie
Posts: 4
Datagrid deleteRow and MVC
«
on:
December 21, 2012, 02:03:48 PM »
I am using the datagrid in an ASP.NET MVC application and I'm having an issue with the deleteRow method. I call this method when a delete link is clicked in the row and the grid looks to perform properly as the row disappears from the screen. The issue that I'm having is that the underlying table that the grid is wrapping doesn't get modified at all so when I post the form, I still have all the records that were originally in my datagrid posted back to the server.
I should not that I am not loading the data for the grid via the url loading, but I instead am writing out the table with all the rows when the page loads and then using the datagrid to wrap that table. I'm not sure if this is a valid way to go about using this plugin or not but other than the delete command I haven't had any issues with it.
Is there something else I need to be doing to get the data to post properly or do I need to manipulate the underlying table on a delete as well as calling the deleteRow on the datagrid?
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...