Announcement

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

    DoubleClick boolean field in table

    LS,

    I have a table with a boolean field.
    This is shown as a checkbox.
    When doubleclicking, this field should change value, when it was true it needs to change to false and vise versa.
    But when i doubleclick on the checkbox, nothing changes.
    in the console i see:
    *11:29:51.198:TMR7:INFO:gridEdit:isc_FNTable_1_0:Starting editing at row 1, colNum 2
    ISC_Core.js:1262 *11:29:51.205:TMR7:DEBUG:gridEdit:isc_FNTable_1_0:showing inline editor at: 1,2, will focus: true
    ISC_Core.js:1262 *11:29:51.225:TMR7:DEBUG:gridEdit:isc_FNTable_1_0:editRowForm created with values: {nr0: 1,Type1: "boolean false",Value2: false,_cellSelection_1: Array[1]}
    ISC_Core.js:1262 *11:29:51.260:IFCS9:INFO:gridEdit:isc_FNTable_1_0:hideInlineEditor for row with no edits - dropping edit values

    the boolean value was/is false (not checked) when doubleclicking

    For all other fields in the table, the inlineditor comes up.

    What am i missing, why is the checkbox not updating?
    Last edited by jaspersuijker; 25 Jun 2021, 01:55.

    #2
    Double-click starts editing as expected, but the editor for a checkbox looks pretty much like a checkbox. One more click and it will change value.

    Alternatively, see listGridField.canToggle.

    Comment


      #3
      thank you will have a look at the cantoggle

      Comment

      Working...
      X