retrieve grid's values

Questionsretrieve grid's values
pierre mata asked 7 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 7 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

13 + 9 =

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 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

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

Let us improve this post!

Tell us how we can improve this post?