Hi Guys,
Have just tripped over an issue with the display of a dirty record during popup editing, whereby the cell value is not being compiled against the angular scope.
To illustrate I have created the following dojo snippet
http://dojo.telerik.com/@AlanBell/AvuDA
which takes the 'Grid - AngualrJS' demo and tweaks things to uppercase the City value via a filter.
If you run the snippet and edit a record, when it becomes dirty the underlying grid shows the City value as "{{dataItem.City | uppercase}}" instead of the uppercased data value.
Regards
Alan
Have just tripped over an issue with the display of a dirty record during popup editing, whereby the cell value is not being compiled against the angular scope.
To illustrate I have created the following dojo snippet
http://dojo.telerik.com/@AlanBell/AvuDA
which takes the 'Grid - AngualrJS' demo and tweaks things to uppercase the City value via a filter.
If you run the snippet and edit a record, when it becomes dirty the underlying grid shows the City value as "{{dataItem.City | uppercase}}" instead of the uppercased data value.
Regards
Alan
5 Answers, 1 is accepted
0
Hello Alan,
The problem is that you do not have update method defined. Please see the following example and let me know if it helps:
http://dojo.telerik.com/@Kiril/ixEBU
Regards,
Kiril Nikolov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
AGB
Top achievements
Rank 1
Iron
answered on 27 Jan 2015, 09:00 AM
Hi Kiril,
I believe the problem is not related to an undefined update method but the value not being compiled against the AngularJS scope.
If you run your your example
- Select the first record to edit
- Changed the 'Units In Stock' value to 40
- Moved focus onto another field in the edit popup
you can see, as detailed in the attached screen shot, the underlying Product Name field in the grid is showing
{{dataItem.ProductName | uppercase}} and not the correct value.
Regards
Alan
I believe the problem is not related to an undefined update method but the value not being compiled against the AngularJS scope.
If you run your your example
- Select the first record to edit
- Changed the 'Units In Stock' value to 40
- Moved focus onto another field in the edit popup
you can see, as detailed in the attached screen shot, the underlying Product Name field in the grid is showing
{{dataItem.ProductName | uppercase}} and not the correct value.
Regards
Alan
0
Hello Alan,
After some discussion with the team, we decided that we will need to change this behavior and the issue will be addressed with the next internal build.
Thanks for your understanding and patience.
Regards,Kiril Nikolov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
AGB
Top achievements
Rank 1
Iron
answered on 03 Feb 2015, 09:16 AM
Thanks Kiril.
Looking forward to developments.
Regards
Alan
Looking forward to developments.
Regards
Alan
0
Hello Alan,
The issue has been fixed and the updated functionality will be available with the next internal build!
Regards,Kiril Nikolov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!