PHPGrid Column Filteration Issue

QuestionsPHPGrid Column Filteration Issue
Narinder asked 9 years ago

Hi,

I am using php grid to show records. There is column name 'store name' showing the names of stores. I want to show store names on phpgrid but while searching i want to use store_id in case of search filtration.

Thanks
Narinder

3 Answers
Abu Ghufran answered 9 years ago

You can use:

$col["dbname"] = "store_id";

This will be used in WHERE clause.

Narinder answered 9 years ago

Hi Abu Ghufran,

Thanks for your assistance.
But I doesn't find out the right solution, I used
$col["dbname"] = "store_id"; but I want to show the store name in grid listing instead of store_id.

I want store name in grid listing and editing filtration with store_id

Thanks
Narinder Singh

Abu Ghufran answered 9 years ago

Please refer demos/appearance/dropdown.php code sample.

Your Answer

4 + 4 =

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?