Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Issue when comparing checkbox column #199

Open
@victorVastory

Description

There is an issue when comparing the checkboxColumn and treeColumn.

The checkboxColumn variable contains a list filtered by the condition showCheckbox = true. The treeColumn variable represents the first column of the column list.

Later, a strict comparison occurs between checkboxColumn (which is a list of objects) and treeColumn (which is always an object). Therefore, the comparison will always evaluate to false, leading to a false positive message: 'ShowCheckBox column should not be defined other than the tree column'.

https://github.com/syncfusion/ej2-javascript-ui-controls/blame/5914ec806e2ebe6b57fabb690d970e3f7a0cc9d6/controls/treegrid/src/treegrid/base/treegrid.ts#L2200

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /