is it possible to select multiple rows in Editable Grid like Paging Grid?

Certified Senior Developer

Hi,

is it possible to select Multiple rows from Editable Grid like in Paging Grid we can select multiple rows ?(Visually multiple rows needs to be checked by selected check boxes)

What I am observed is when I  selected any row by checking the check box visually one row at a time is selected. means toggling the check box selection. is it the default behavior?

 can you please provide the insights of this Editable Grid selection behavior.

 

Thanks in Advance.

  Discussion posts and replies are publicly visible

Parents
  • Hey ramp,

    It may be helpful if I show you an example.
    I think something similar to what you described occurs when you leave out the selectionValue parameter, and just have the selectionSaveInto parameter. If that is not the issue, see what differs from the code below.

    Thanks!
    Jake

    load(
    local!selection: tointeger(
    {}
    ),
    a!gridLayout(
    selectable: true,
    selectionValue: local!selection,
    selectionSaveInto: local!selection,
    headerCells: {
    a!gridLayoutHeaderCell(
    label: "a"
    ),
    a!gridLayoutHeaderCell(
    label: "b"
    )
    },
    rows: a!forEach(
    items: enumerate(
    5
    ) + 1,
    expression: a!gridRowLayout(
    id: fv!item,
    contents: {
    a!textField(),
    a!textField()
    }
    )
    )
    )
    )
Reply
  • Hey ramp,

    It may be helpful if I show you an example.
    I think something similar to what you described occurs when you leave out the selectionValue parameter, and just have the selectionSaveInto parameter. If that is not the issue, see what differs from the code below.

    Thanks!
    Jake

    load(
    local!selection: tointeger(
    {}
    ),
    a!gridLayout(
    selectable: true,
    selectionValue: local!selection,
    selectionSaveInto: local!selection,
    headerCells: {
    a!gridLayoutHeaderCell(
    label: "a"
    ),
    a!gridLayoutHeaderCell(
    label: "b"
    )
    },
    rows: a!forEach(
    items: enumerate(
    5
    ) + 1,
    expression: a!gridRowLayout(
    id: fv!item,
    contents: {
    a!textField(),
    a!textField()
    }
    )
    )
    )
    )
Children
No Data