custom field names in master table like detail table

Questionscustom field names in master table like detail table
gworks asked 9 years ago

The below code display all database table names and values in MASTER TABLE. But i need only required field values and custom field names like in DETAIL TABLE. Need help.

$grid = new jqgrid();
$opt["caption"] = "Master Table";
$opt["detail_grid_id"] = "list2,list3";
$opt["height"] = "300";
$opt["width"] = "600";
$grid->set_options($opt);
$grid->table = "cl_master";
$echo= $grid->render("list1");

1 Answers
Abu Ghufran answered 9 years ago

Refer this docs link for selecting specific columns.
http://www.phpgrid.org/docs/#Selecting_Specific_Columns

Your Answer

7 + 17 =

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?