Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ListGrid grouping and the "name" attribute

    When enabling grouping in a ListGrid, it appears that the ListGrid may be using the attribute "name" in the records for some sort of internal tracking of the grouping status. I am having an issue with my data when I have a JavaScriptObject stored under the attribute "name" in my records.
    If I do not enable grouping, everything works as expected. As soon as I turn on grouping, the previous JSO value for "name" is overwritten in my records as "[object Object]". If the value of "name" was null in my records, the value turns into something like "1_0" or "1_1". The data is then corrupted if I open the record in a form.
    This does not appear to happen if I have a simple string value stored under the "name" attribute. Any thoughts on this? Is this expected behavior or should the "name" attribute be avoided in my own data?

    I'm using SmartClient Version: 8.2/LGPL Development Only (built 2011-12-05)
    and recent versions of Chrome.

    Thanks
Working...
X