Enterprise: Datagrid: Incorrect value on Selection Counter after Adding new row

Created on 22 May 2019  路  5Comments  路  Source: infor-design/enterprise

Describe the bug
If the datagrid select all rows checkbox is ticked before adding a new row, the selected count is not being updated even if the new row is automatically selected.

To Reproduce
Steps to reproduce the behavior:

  1. Navigate to http://master-enterprise.demo.design.infor.com/components/datagrid/example-editable.html
  2. Change the records per page to 75 to show all records.
  3. Click Select All checkbox
    image
  4. Click Add row button
    image

Expected behavior
The selection counter should also count the newly added row.

Platform
OS Version: Windows 10
Browser Name: Google Chrome

[2] datagrid type

All 5 comments

I would say that it should'nt mark the newly added row as selected in the first place.

Hi Tim, we agree that it makes much more sense if the newly added row is not automatically selected.

Just to clarify, this behavior does not affect the main functionality of our web form. We filed this to track that the misleading count is also occurring in IDS.

Got it, I think we should fix it the way i said by ensuring the newly added row isnt selected.

Following the steps this is not reproducable. It must have been corrected via another ticket.

image

Was this page helpful?
0 / 5 - 0 ratings