Show only certains rows

QuestionsShow only certains rows
Mateo asked 1 year ago

Hello, i have a functionnal grid with some columns. But i’d like to show only the rows that have not the value “returned” in the column “Actual State”. How to do so please ?

2 Answers
Mateo answered 1 year ago

I precise that i want them to be hidden in general, but if on the search bar i search, in the column “Actual State” , for content “Returned” they must appear

Abu Ghufran Staff answered 1 year ago

Ok, So you actually search-onload function. This will apply specific filter when loading the grid.

For that, you can refer this demo:

Demo: https://www.gridphp.com/demo/demos/search/search-onload.php

Code: https://www.gridphp.com/demo/demos/search/search-onload.phps

line 36-64: Set initial values.

line 59: defaultValue setting.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

9 + 10 =

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

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?