I must admit I am fairly new to React so this may be a silly question.
But I'm looking at the DataTables lazy loading example https://www.primefaces.org/primereact/datatable/lazy/ and I am trying to understand why it passes the entire 'LazyEvent' to as query parameters to
https://www.primefaces.org/data/customers ?
For example:
Code: Select all
lazyEvent=
{
"first":30,
"rows":10,
"sortField":null,
"sortOrder":null,
"multiSortMeta":[
],
"filters":{
"name":{
"value":"",
"matchMode":"contains"
},
"country.name":{
"value":"",
"matchMode":"contains"
},
"company":{
"value":"",
"matchMode":"contains"
},
"representative.name":{
"value":"",
"matchMode":"contains"
}
},
"page":3,
"pageCount":20
}
many thanks.