JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › addNewRow button error
Tagged: Datagrid
I found an error using addRow/displayMode:’button’
In order to create a testcase I modified the server-side-crud demo modifyng addNewRow as follow :
addNewRow: { visible: true, displayMode: ‘button’, position: ‘far’ },
running I got an error :
Uncaught TypeError: o is undefined
o http://localhost:9080/SmartComponents/source/modules/smart.grid.js:1437 _observeRows http://localhost:9080/SmartComponents/source/modules/smart.grid.js:1437 _notify http://localhost:9080/SmartComponents/source/modules/smart.grid.js:1374 …
I had the same error adding rows also in other situations but I wasn’t able to reproduce in a testcase. What’s the problem ? Tks
Hi,
Thank you for the feedback!
We are aware of the reported behavior. This display mode cannot be used with server-side-crud in the current version of the DataGrid component. This will be updated in the next release.
Best regards, Peter Stoev
Smart UI Team https://www.htmlelements.com/