jahlxx Posted May 11, 2017 Share Posted May 11, 2017 Hi. Some help with unidbtreegrid? The sample is not clear. I load data in the gris, but is not shown as a tree . Thanks. Quote Link to comment Share on other sites More sharing options...
Ario.Paxaz Posted May 11, 2017 Share Posted May 11, 2017 Hi Are you Set IdField and IdParentField properties or TreeKeyFields that set in first grid demo ? Best Regards. Quote Link to comment Share on other sites More sharing options...
jahlxx Posted May 11, 2017 Author Share Posted May 11, 2017 Yes. Quote Link to comment Share on other sites More sharing options...
Ario.Paxaz Posted May 12, 2017 Share Posted May 12, 2017 Hi You'r parenid filed in table or query must be nil. ID MyId idparent 1 40 99 2 42 99 3 32 90 4 30 90 5 58 91 6 50 91 7 99 0 8 91 99 9 90 0 Best Regards. 1 Quote Link to comment Share on other sites More sharing options...
jahlxx Posted May 15, 2017 Author Share Posted May 15, 2017 sorry, I must be stupid, but can't do what I want. I have this: select a.opcion as myid, b.idmodulo as parentid, b.modulofrom opciones_t a, modulos_t bwhere a.modulo = b.moduloand a.opcion <> 0union allselect a.idmodulo as myid, 0 parentid, a.modulofrom modulos_t aorder by 1; define the ID as opcion, and parentid as parentid field. but can't see the grid in tree mode Quote Link to comment Share on other sites More sharing options...
jahlxx Posted May 15, 2017 Author Share Posted May 15, 2017 ok. done. thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.