Intersoft Support Center

Use Additional Filter

WebCombo provides a client side method to filter the data in client-side event.

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

To filter the data in WebCombo using SetAdditionalFilter method

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

    JavaScript Copy ImageCopy Code
    function Button1_onclick()
    {
       var WebCombo1 = ISGetObject("WebCombo1");
       var customer = "ANTON";
       WebCombo1.SetAdditionalFilters("[CustomerID] = '" + customer + "'");
    }                        

  4. Run the project.
Previous Next