Announcement

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

    Why does the datasource update when I click the checkbox in a ListGrid?

    Once again I hope for answers to a problem...keeping my fingers crossed.

    There's an editable ListGrid bound to a REST data source with selection appearance = checkbox. Whenever I click a record's checkbox I see an update request on the data source being issued. Why is that? How can I disable this behavior?

    The same question was asked here https://forums.smartclient.com/node/18630 but the user didn't post his answer :(.

    #2
    Do you have edit by cell turned on?

    Comment


      #3
      What exactly do you mean by "edit by cell"? Yes, one can "inline edit" each cell. However, we have several dozen other grids that are also editable but don't show this particular behavior. I simply don't understand which setting or configuration would cause this...
      Last edited by fhisg; 31 May 2012, 23:26.

      Comment


        #4
        Got it! Whoever implemented this panel had overriden ListGrid#canEditCell(int, int) in a way that returned true as default value. That's wrong, for column 0 it's got to be false.

        Comment

        Working...
        X