Announcement

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

    Save button for each record gridlist

    Hi all,

    I would like a save button for each record in its own column on a gridlist. I have set autoSaveEdits:false, i just can't seem to find how to set a button to populate the column.

    #2
    Hello eholmstrom,

    The best way to do this is to use listGridField.formatCellValue() to output something that looks pressable (eg an icon) and use listGridField.recordClick() to perform the actual action (saveEdits() in this case).

    Comment


      #3
      Methods not found in APIs

      1. The formatCellValue() method is not found in ListGridField API
      2. The saveEdits() method is not found in ListGrid API

      Please help to resolve these issues. Also please direct me on how to use saveEdits() from recordClickHandler() of ListGridField because instance of listGrid will not be available with ListGridField.

      Comment


        #4
        smartGWT version is 3.0

        smartGWT version is 3.0

        Comment

        Working...
        X