how-to-selecting-columns-in-treegrid

Questionshow-to-selecting-columns-in-treegrid
Harold Jung asked 6 years 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 6 years 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
Grid 4 PHP Framework
 
migul replied 5 years ago

en el demo en la nube DE PHPGRID FUNCIONA ANTIGUO
?wIDTH COLUMNS??

Abu Ghufran Staff replied 5 years ago

Ok, i’ve updated website demo. You can check here:
https://gridphp.com/demo/demos/treegrid/treegrid.php

Your Answer

16 + 5 =

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?