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
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.
en el demo en la nube DE PHPGRID FUNCIONA ANTIGUO
?wIDTH COLUMNS??
Ok, i’ve updated website demo. You can check here:
https://gridphp.com/demo/demos/treegrid/treegrid.php
Your Answer