SmartClient Version: v10.1p_2016-03-14/Enterprise Deployment (built 2016-03-14)
Chrome on OSX
Hello, I've got a simple grid with canRemoveRecords: true, which is dataBound with a dataSource.
The dataSource has editRequiresRole on all fields, and requiresRole on remove operationBinding.
The problem is when the user has a role which results in all fields non editable and also the remove operation is forbidden.
If I call grid.startEditingNew, no new record is created, which is nice.
But if, after the startEditingNew I try to remove a record, after the 'Failed the "requires" check' warn appears, a void record is added to the grid
You may see the effect here:
https://www.youtube.com/watch?v=vggU-STI0Ps
Also, if you hover the first record, its layout becomes 'broken', seems shifted to the right-bottom.
Chrome on OSX
Hello, I've got a simple grid with canRemoveRecords: true, which is dataBound with a dataSource.
The dataSource has editRequiresRole on all fields, and requiresRole on remove operationBinding.
The problem is when the user has a role which results in all fields non editable and also the remove operation is forbidden.
If I call grid.startEditingNew, no new record is created, which is nice.
But if, after the startEditingNew I try to remove a record, after the 'Failed the "requires" check' warn appears, a void record is added to the grid
You may see the effect here:
https://www.youtube.com/watch?v=vggU-STI0Ps
Also, if you hover the first record, its layout becomes 'broken', seems shifted to the right-bottom.
Comment