Home > Net >  Miniui datagrid in front-end query a data how let him compare each page data
Miniui datagrid in front-end query a data how let him compare each page data

Time:09-18

Bosses to help, to kneel

CodePudding user response:

How to compare?

CodePudding user response:

You made a mistake, the query number is the query parameter passed to the backend, then all matching data back to the front to render to the datagrid,
Front-end datagrid are generally paging, and each time only one page of the data, point next time back to request data, how can you achieve your so-called every page compare

CodePudding user response:

refer to the second floor EdsionWang response:
you made a mistake, the query number is the query parameter passed to the backend, then all matching data back to the front to render to the datagrid,
Front-end datagrid are generally paging, and each time only one page of the data, point next time back to request data, how can you achieve your so-called every page compare?

This I know, but I want to enter a article number on the front end, then automatically in the Datagrid positioning data to the zha implementation

CodePudding user response:

Orientation to the data or filter?
Screening can refer to:
http://miniui.com/demo/datagrid/filter.html
http://miniui.com/demo/datagrid/pager.html

CodePudding user response:

Is located to the corresponding data

CodePudding user response:

The
Hello World reference 4 floor, response:
positioning to the data or filter?
Screening can refer to:
http://miniui.com/demo/datagrid/filter.html
http://miniui.com/demo/datagrid/pager.html

Is located to the corresponding data

CodePudding user response:

Positioning, after calculate according to the index index page layout,

CodePudding user response:

Guess you mean,
Dozens of master record, a page per master record and associated 1-4 objects, hope finish page loading master record, traverse to the child object is loaded,

If so, direct defined:
The class MainObj {
Public string Name {get; set; }
Public List ItemList {get; set; }
}
One-time return all content is ok, don't have to load the second time,

CodePudding user response:

Search on this page, use cycle
Each page of the search, modify the where conditional statements, database retrieval, and reload the page
  • Related