Telerik Product and Version
|
Q1 2015 and later
|
Supported Browsers and Platforms
|
All supported browsers
|
Components/Widgets used (JS frameworks, etc.)
|
-
|
PROJECT DESCRIPTION
The Code Library illustrates how one can use HTML to edit a certain field data in a batch editing grid. The main idea in such an implementation is to subscribe to the four batch editing events(
OnBatchEditGetCellValue,
OnBatchEditSetEditorValue,
OnBatchEditGetEditorValue and
OnBatchEditSetCellValue) and manually get/set the cell and editor values. Such manipulation later allows you to transfer the HTML safely to the server and insert it into the database.
The sample contains two pages which illustrate two different implementations. In the first a
GridTemplateColumn with a
RadEditor placed inside the
EditItemTemplate is used whereas the second page applies a similar approach but for the built-in
GridHTMLEditorColumn.