Tree within a Grid
Moderator: Rathinagiri
Tree within a Grid
Hello,
In hmg.4, can use the object tree in a grid ?
Best Regards,
Rossine.
In hmg.4, can use the object tree in a grid ?
Best Regards,
Rossine.
Re: Tree within a Grid
Can you please explain what you want to do ?
Rossine wrote:Hello,
In hmg.4, can use the object tree in a grid ?
Best Regards,
Rossine.
Re: Tree within a Grid
Hello Francesco,
Please, seek this link: http://www.codeproject.com/KB/grid/treegridctrl.aspx
In fivewin exist xbrowse + tree. See thiw image:
Best Regards,
Rossine.
Please, seek this link: http://www.codeproject.com/KB/grid/treegridctrl.aspx
In fivewin exist xbrowse + tree. See thiw image:
Best Regards,
Rossine.
- Attachments
-
- grid_tree.png (77.83 KiB) Viewed 3930 times
Re: Tree within a Grid
Rossine, you can do this with the QTreeWidget Class using more than one column: http://doc.qt.nokia.com/stable/qtreewidget.html
The best way may be by overloading the HMG4 tree class not by using the grid class.
The best way may be by overloading the HMG4 tree class not by using the grid class.
Re: Tree within a Grid
Hi Ricci,
Many thank´s for this explanation.
It would be possible to have a class/command in hmg.4 to do this ?
Best Regards,
Rossine.
Many thank´s for this explanation.
It would be possible to have a class/command in hmg.4 to do this ?
Best Regards,
Rossine.
Re: Tree within a Grid
If you find someone who will build this class ....
Re: Tree within a Grid
Rossine wrote: It would be possible to have a class/command in hmg.4 to do this ?
Why don't you try yourself ? Clone tree.prg and start adapting the code... Creating core code for HMG4 is way way easier than create code for Hmg3...
In 3 weeks Ricci moved from saying that he would not use HMG4 to contributing core code...
Re: Tree within a Grid
Hi All,
I've got some progress with the tree-multcolumn
1) Create multi columns
2) Sort Column
3) Icons in all columns
4) Tooltip for coluna
See this image:
Then try to adapt the class to accept one or more columns
Many thank´s to all,
Rossine.
I've got some progress with the tree-multcolumn
1) Create multi columns
2) Sort Column
3) Icons in all columns
4) Tooltip for coluna
See this image:
Then try to adapt the class to accept one or more columns
Many thank´s to all,
Rossine.
- Attachments
-
- tree_mult_column.png (40.39 KiB) Viewed 3895 times
Re: Tree within a Grid
Hi Rossine.
I'm very happy to see your job and I wait for your code
Regards
I'm very happy to see your job and I wait for your code
Regards
Luigi from Italy
www.L3W.it
www.L3W.it
Re: Tree within a Grid
Really good !Rossine wrote:Hi All,
I've got some progress with the tree-multcolumn
1) Create multi columns
2) Sort Column
3) Icons in all columns
4) Tooltip for coluna
Would you share the code so that we can add to hmg4 ?