Intersoft WebCombo Documentation
How-to: Perform batch update in unbound WebCombo
See Also Send comments on this topic.
Intersoft WebCombo > WebCombo Features Overview > Unbound Mode How-to Topics > How-to: Perform batch update in unbound WebCombo

Glossary Item Box

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

  1. Set WebCombo to unbound mode.
  2. Go to HTML view and add the following code:

    JavaScript Copy ImageCopy 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!");
    }                                                                        

  3. Invoke BatchUpdate() function by adding the following code:

    <input id="Button1" type="button" value="Update" onclick="BatchUpdate()" />

See Also