Announcement

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

    ListGrid: editing does not work after hideField

    Hi all,

    I have encountered something weird.
    I have narrowed it down to this:

    If I hide a field using hideField, inline editing (using double-click) stops working.

    If I comment out the line with the hideField, it works again.

    Is this expected?

    Kristof

    ps. I am doing the hiding immediately after the datasource was assigned by setDataSource.

    #2
    No, not expected, try putting a standalone test case.

    Comment


      #3
      false alarm

      Fortunately, I was wrong.

      I did not realize that hideField actually removes the ListGridField from the set of field available via getField(). So, when I was trying to do some magic with the fields on editing, it failed because of the hidden field.

      Glad that it turned out like this.

      Comment

      Working...
      X