Intersoft WebCombo Documentation
How-to: Get total rows in WebCombo
See Also Send comments on this topic.
Intersoft WebCombo > WebCombo Features Overview > Client-side Programming How-to Topics > How-to: Get total rows in WebCombo

Glossary Item Box

WebCombo provides a method in client side to get the total rows.

In this topic, you will learn how to use TotalRows method.

To get total rows in WebCombo

  1. Drag a HTML button and leave the Id as it is, which is Button1.
  2. Double click the HTML button and add the following code in the defined Client-side event handler:

    JavaScript CopyHover ImageCopy Code
    function Button1_onclick() 
    {
       var WebCombo1 = ISGetObject("WebCombo1");
       var result = WebCombo1.TotalRows;
       alert(result)
    }        

  3. Run the project.

See Also