Onrowupdating c
12-Jan-2020 07:55
In this case, you can fix those columns that you consider pivotal so that they were constantly on screen.
When this option is set to false, all columns have identical widths that depend on the width of the widget.
Each grid column is represented in this array by an object containing column settings or by a data source field that this column is bound to.
Detailed information on specifying grid columns is given in the Columns Overview article.
By default, a column is created for each field of a data source object, but in most cases, it is redundant.
To specify a set of columns to be created in a grid, assign an array specifying these columns to the columns option.
When the width of all columns exceeds the widget width, horizontal scrolling appears.
If specific columns should be on screen constantly regardless of how far the widget is scrolled, allow a user to fix them at runtime using the context menu.
Information from hidden columns is available in an adaptive detail row.But, consider disabling it for frequently changing data sources.To update data in cache, call the refresh() method of the widget or the load() method of the Data Source.The Row Updating event is raised when a row's Update button is clicked, but before the Grid View control updates the row.
This enables you to provide an event-handling method that performs a custom routine, such as canceling the update operation, whenever this event occurs.When this option is set to true, all columns adjust their widths to the content.