I would like use a text (only text without button) in the toolbar, after the buttons "create", "edit" and "save". in this, I would like write "New or changeddata are not stored - Please save data". It is possible?
3 Answers, 1 is accepted
0
Alexander Valchev
Telerik team
answered on 09 Mar 2012, 12:21 PM
Hi Damir,
You can append text to the toolbar with simple jQuery script. For example:
$(".k-toolbar.k-grid-toolbar").append("<span id='customMessage'>New or changed data are not stored - Please save data.</span>");
//sample styling
#customMessage {
line-height: 32px; //height of the buttons
vertical-align: middle;
margin-left: 15px;
}
I hope this information will help you to achieve your goal.
Kind regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
But now i miss an event after-edit or after-add/delete in grid....
It isplannedor is there asolution?
Damir
0
Alexander Valchev
Telerik team
answered on 12 Mar 2012, 01:59 PM
Hello Damir,
I suggest using the save and remove events to keep track of the changes made to the grid. The save event will fire before the grid item is changed, while the remove event will rise when an item is deleted.
Regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!