dekoo

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • in reply to: A new Tree Grid component #83634
    dekoo
    Participant

    Yes, I'll try to stick together parent item ID and children item ID and than i'll parse this data on the server side script… but I hope you'll find another solution πŸ™‚

    Thanks again.

    in reply to: A new Tree Grid component #83628
    dekoo
    Participant

    Hi

    Tony, sorry, but I have another question… or problem…

    You use ID or NODEID to get NODE childrens throw request to server. It works fine in most cases. But what if several nodes have childrens with same ID.

    For example node A has children B and children C, and node D has children B and children F… So that if I try to get the B's childrens your plugin will expand only one node… But I need two undependent branches in this example. So using of ID as NODEID is not good, becouse sometimes we need to generate really unique ID's for this tree, but at the same time we need to get childrens with using of any other fields…

    What if we say to JqGrid (treegrid) that we want to use сoncrete field as nodeid? Or maybe I've already could use this feature?

    in reply to: A new Tree Grid component #83615
    dekoo
    Participant

    mmm.. sorry πŸ™ I've just found out that it doesn't work correctly almost when I expand row… so… any ideas of what should I do with my non-nested set? πŸ™‚

    in reply to: A new Tree Grid component #83614
    dekoo
    Participant

    Okey, I've changed my data and it works now… But at the moment I have another question πŸ™‚ First I'm going to explain situation… I have one table in database, there are huge amount of details and constructions in this table. They are connected by id = prior parentid… some thing like tree… But I cant't change database structure and there is no fields like lft, rgt and so on… πŸ™ So I put random digits in this XML section and FALSE in leaf section… It works for me, when I expand rows, but it doesn't work when I colapse it…. I've looked into source code and found the solution. I've removed this condition: “parseInt(this.lft,10) > lft && parseInt(this.rgt,10) < rgt" from getNodeChildren method… But it seems ugly to change source code, becouse now I should do it after each update πŸ™ Could you add property or some thing else to fix this for cases like I had? Or may be I haven't considered some thing really important that could help me?

    in reply to: A new Tree Grid component #83597
    dekoo
    Participant

    Hi Tony.

    First of all, We really appreciate you work!

    But of course I have several questions. :)

    I've had no problems with JqGrid (maybe becouse of good docs), but I can't succeed with TreeGrid. I've made an example which works with my JSON data, I've also made an example which works with your XML data I took it from your example). And my XML example works, but at the same time my JSON example doesn't work :(

    Does this plugin work only with XML datatype ?

Viewing 5 replies - 1 through 5 (of 5 total)

Stay connected with us in your favorite flavor!