retrieve grid's values

Questionsretrieve grid's values
pierre mata asked 3 years ago

there's a way to retrieve the values of grid, like records number of query or filter criteria?? thanks

1 Answers
Abu Ghufran answered 3 years ago

Pasting from docs

To get current search filter

// will give you a string like: "{"groupOp":"AND","rules":[{"field":"Name","op":"bw","data":"a"}]}"
var filters = $('#list1').getGridParam("postData").filters;

To get all data in 2d array, call getRowData without param.

var rows = $('#list1').getRowData();

Your Answer

20 + 16 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

We are sorry that this post was not useful for you!

Let us improve this post!