jahlxx Posted May 11, 2017 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
Ario.Paxaz Posted May 11, 2017 Posted May 11, 2017 Hi Are you Set IdField and IdParentField properties or TreeKeyFields that set in first grid demo ? Best Regards. Quote
Ario.Paxaz Posted May 12, 2017 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
jahlxx Posted May 15, 2017 Author 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
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.