Skip to content

After setColumns selected class is not applied to new columns #892

@Crisfole

Description

@Crisfole

Applies to grids with RowSelectionModel:

Steps to Reproduce:

  1. Open http://mleibman.github.io/SlickGrid/examples/example9-row-reordering.html
  2. Open Console
  3. Enter the following Commands:
    1. grid.setSelectedRows([0])
    2. cols = grid.getColumns()
    3. cols.push({ id: "TEST", field: 'name', name: "TEST" })
    4. grid.setColumns(cols)

Expected Output:

  • Whole selected row is highlighted, including new column.

Actual Output

  • Original columns in selected row are still highlighted. New column isn't.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions