dataBind() |
|
|
Databinds the RadDataForm when the client-side data source is set |
rebind() |
|
|
Rebinds RadDataForm to its given data source |
editItem(itemIndex) |
Number |
|
Switches RadDataForm item into edit mode (with index specified as an argument).The method takes the following argument:itemIndex: Index of the item that will be edited |
updateItem(itemIndex) |
Number |
|
Updates RadDataForm item (with index specified as an argument).The method takes the following argument:itemIndex: Index of the edited item that will be updated |
deleteItem(itemIndex) |
Number |
|
Deletes RadDataForm item with index specified as an argument.The method takes the following argument:itemIndex: Index of the item that will be deleted |
cancelUpdate(itemIndex) |
Number |
|
Cancels RadDataForm item update (with index specified as an argument).The method takes the following argument:itemIndex: Index of the edited item for which update operation will be aborted |
showInsertItem(insertItemPosition) |
Number |
|
Displays the insert form of RadDataForm .The method takes the following argument: insertItemPosition . The position of the insert item relative to the rest of the items in RadDataForm . Accepted values enumerated in Telerik.Web.UI.RadDataFormInsertItemPosition - .FirstItem , .LastItem , .None . |
insertItem() |
|
|
Inserts a new item in RadDataForm with values taken from its insertion form |
cancelInsert() |
|
|
Cancels insert operation and hides RadDataForm insertion form |
page(command, doNotFireCommand) |
String, Boolean |
|
Navigates RadDataForm to the page specified as an argument. If server-side databinding is used, RadDataPager should be used for page navigation.The method takes the following arguments:command: The actual page to which the user will be navigated. Possible values are 'First', 'Prev', 'Next', 'Last' and numeric values.doNotFireCommand: Optional. Indicates whether RadDataForm should prevent firing the Page command. By default, Page command is fired. |
fireCommand(commandName, commandArgument) |
String, String |
|
Fires command with command name and command argument specified as arguments.The method takes the following arguments:commandName: The name of the command that will be executed.commandArgument: The command argument with which the command will be executed. |