WebCombo V4.0 gives you the ability to perform batch update in unbound mode.
In this topic, you will learn how to implement the batch update.
To perform batch update in unbound WebCombo
- Set WebCombo to unbound mode.
- Go to HTML view and add the following code:
JavaScript Copy Code function BatchUpdate() { var WebCombo1 = ISGetObject("WebCombo1"); var firstRow= WebCombo1.GetRows()[0]; // get the WebCombo1's rows var firstCell = firstRow.GetCells()[0]; firstCell.Text = "Changed Text"; // modify the text firstRow.SetChanged(); WebCombo1.UpdateUI(); alert("Batch Update done!"); }
- Invoke BatchUpdate() function by adding the following code:
<input id="Button1" type="button" value="Update" onclick="BatchUpdate()" />
Tasks
How-to: Delete a row in unbound WebCombo
How-to: Create unbound WebCombo using PopupateUnboundData method
How-to: Create multiple columns unbound WebCombo using PopulateUnboundData method
How-to: Modify the first cell of the first row in unbound WebCombo
How-to: Add item in unbound WebCombo from client side
Concepts
Unbound Mode