V1.23beta (important updates)
- Fixed the bug where the insertnewrow () and updaterowdata () methods cannot correctly handle alignment and width.
- Fixed the bug where insertnewrow () cannot be used to select and trigger events.
- The new js method getgridjsondata () is used to extract all data of the current grid and generate a JSON string that can be saved in the form field.
- The new server method parsegetgridjsondata () is used to parse the data generated by getgridjsondata (). A two-dimensional dictionary is returned. With checkedrows, all data of the grid used for form submission can be obtained.
- Fixed the bug where the applyqueryreload () method can handle only one parameter when the parameter already exists.
Samples/teststockformin in the attachment. the ASPX page demonstrates the use of getgridjsondata and parsegetgridjsondata through a simulated warehouse receiving order editing page. Since then, dotnetflexgrid can basically Replace The ListBox used for form submission or the table processed by itself. Example:
Initialize, simulate opening a warehouse receiving ticket for editing
Add and modify items
Submit after editing