When set itemsSource to a new value, the selectall state was not cleared

Posted by: frhave on 19 December 2017, 2:11 am EST

  • Posted 19 December 2017, 2:11 am EST

    steps:

    1. open the link http://jsfiddle.net/c65rqvmv/
    2. select the second row.

      3.click the top-left cell to select all rows.

      4.click the “Set New Items Source” button to set the grid’s itemsSource to a new value.

    then you can see, all the rows are still be selected, this is not right, it should only the first row to be selected when set the grid’s itemsSource to a new value.

    thanks!

  • Posted 19 December 2017, 9:34 pm EST

    Hi,

    This seems by design. It prevents selected cell state if topLeftCells is clicked. You may select to first row by calling select method. Please refer to the fiddle the same.

    http://jsfiddle.net/mkgupta911/c65rqvmv/1/

    ~Manish

  • Posted 20 December 2017, 3:24 am EST

    I see, though it is easy to resolve, but it is not a good design, thanks,

  • Posted 20 December 2017, 10:22 pm EST

    Hi,

    This issue has been addressed to the concerned team for further investigation with internal id 301911.

    We will let you know as we get any update on this.

    ~Manish

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels