InsaneWookie

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • in reply to: treeGrid getNodeParent no longer works as documented #95235
    InsaneWookie
    Participant

    Even more digging shows that getRowData isn't even returning the correct data

    The raw row data shows isLeaf as a boolean true but when I use getRowData it returns a string “false”

    Edit: It seems to be NOT seeing a row as leaf if it has no parents when using getRowData

    in reply to: treeGrid getNodeParent no longer works as documented #95234
    InsaneWookie
    Participant

    That kind of works but getRowData seems to be converting all the data to strings

    e.g. isLeaf in the raw grid data is of type boolean but getRowData is converting it to type string.

    So doing a compare if(getRowData(rowId).isLeaf == false) will always fail

    in reply to: [Help] Tree Grid Can’t Display Row #95214
    InsaneWookie
    Participant

    Looks like your XML has a syntax error on the last row

    Your missing a closing “>”

    Rowan

    in reply to: Autoloading Tree Nodes #95208
    InsaneWookie
    Participant

    Never mind.

    It turns out that I had a period in my rowid (eg “7.1”).

    Turns out that jQuery needs special characters in the ID selector to be escaped

    “If the id contains characters like periods or colons you have to escape those characters with backslashes.” (http://api.jquery.com/id-selector/)

    Seems there was a change the way the row was being selected which caused this to not with with ID with special characters.

    I just chaged the ID to not use periods anymore

    Rowan

    in reply to: Autoloading Tree Nodes #95207
    InsaneWookie
    Participant

    I think I'm having the same problem

    Since upgrading from version 3.6.4 to 3.7.2 loading at once on tree grids do not seem to be working correctly.

    The data loads into the grid correctly by when I click on a row to expand it out nothing happens.

    If I set the rows to be expanded, they show expanded with the correct sub rows showing but clicking on the top level row does not collapse it.

    It looks like it maybe something to do with the event that is fired when expanding the row. As far as I can tell the event is being triggered and run but it has no effect on the grid

    Rolling back to the previous version of jqGrid solves the problem.

    I have tried with both JSON and XML with no success.

    If I load the sub rows on demand it seems to work correctly, but this is not what I want. I want to be able to load all rows and sub rows at once.

    I would really like to be able to use the latest version as it has some bug fixes that I require.

    Cheers

    Rowan

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

Stay connected with us in your favorite flavor!