how-to-selecting-columns-in-treegrid

Questionshow-to-selecting-columns-in-treegrid
Harold Jung asked 1 year ago

In Treegrid demos,
I want to show id, So i code set_columns($cols). But that is not work..
How to selecting columns in treegrid?

1 Answers
Abu Ghufran Staff answered 1 year ago

Hello,

May be it is no more required but replying this ticket just to help others.

In Treegrid, first column is hidden by default to make hierarchical appearance. If you wish to display ID, you can alias it as another column (other than PK name) in SQL select command and make a new column in grid.

_________________________
Abu Ghufran - Dev Team
PHP Grid Framework
 
Your Answer

20 + 8 =

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?