jQWidgets Forums

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: adding rows to target grid adding rows to target grid #57074

    chradha
    Participant

    Hi Peter

    Looks like “addRow” method does not support hierarchies. Using checked option, the entire parent (with children) moves but does not support adding to existing parent. If i use use “selection” option, the parent does not move with children. Even if we add children to parent, the children are ignored while adding to target.

    I have tried adding event.args.row directly & extract content from event.args.row and add as {‘<content>’}. Both did not work.

    Now, i am trying to recreate the whole target grid every time when the user tries to move rows!!

    Any suggestions are welcome.

    thanks, Radha

    in reply to: TreeGrid with Nested Json TreeGrid with Nested Json #56889

    chradha
    Participant

    Hi Peter

    Thanks for the correct pointer. I am able to get the treegrid now. The json parent/child structure is the culprit.

    Thanks again.

    …..Radha

    in reply to: TreeGrid with Nested Json TreeGrid with Nested Json #56885

    chradha
    Participant

    Hi Peter

    I agree with you. I too had that doubt in mind. I will change that.

    But i want to clarify one more thing. The error is thrown when treegrid is loading the property “source: dataAdapter_table". I printed the size of the dataAdapter_table recores before assigning to treegrid. It has records inside it.

    And the exception details are:
    ——————————————————————————–
    Len of dataAdapter_table: 31
    SCRIPT5007: Unable to get property ‘toString’ of undefined or null reference
    jqxdatatable.js, line 7 character 29348
    ——————————————————————————–

    What i dont understand is, it is neither null nor undefined. It has records in it and we can see the log tells that the length is 31.

    BTW, it was internally calling jquery-1.10.2.js which i added in /scripts/ folder. While downloading this file, i saw the below point in release notes.
    #13974: Accessing XML attribute named “type” broken on IE 7
    I dont know if it has any relavance here!

    I will make the json structure changes and update.

    Thanks, Radha

    in reply to: TreeGrid with Nested Json TreeGrid with Nested Json #56876

    chradha
    Participant

    Hi Peter

    That output is before i made the change from “fields” to “children”. I had a doubt on word “fields”, so, i changed to “children” but anyhow that also did not work.

    Please ignore that.

    Thanks, Radha


    chradha
    Participant

    Sorry. The table tags have description also.
    <tables>
    <table name=”table_1″ description=”This has employee info”>
    <field name=”field_1″ type=”char” description=”It is field one under first table” />
    <field name=”field_2″ type=”char” description=”It is field two under first table” />
    </table>
    <table name=”table_2″ description=”This has projects info”>
    <field name=”field_3″ type=”char” description=”It is field three under second table” />
    <field name=”field_4″ type=”char” description=”It is field four under second table” />
    </table>
    </tables>

    The table tag and field tags have data in attributes. Same attribute ‘name’ exists in table and field tags.

    …….
    Radha


    chradha
    Participant

    Hi Peter Stoev

    Thanks for your reply. Can you share any code snippet or example?

    …….
    Radha

Viewing 6 posts - 1 through 6 (of 6 total)