Submit the grid data as part of the form-dotnetflexgrid1.23beta release

Source: Internet
Author: User

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

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.