Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
Reset the WebCombo list items
posted

I have an UltraWebGrid.  When editing a row, a RowEditTemplate pops up.

In the template, I have a WebCombo.  Initially, the WebCombo has all rows.  I also have TypeAhead.Simple set.  If I search for "apple", the WebCombo is filtered with all rows that contain "apple".

If I go to another row in my UltraWebGrid and edit.  The WebCombo in the template still has all of my "apple" results.

How can I reset the WebCombo rows as I switch UltraWebGrid rows?

Parents
No Data
Reply
  • 130
    posted

    you can use selectwhere to fielter:

    var cboName = igcmbo_getComboById("WebCombo1");

     cboName.selectWhere("SearchField='*" + cell.getRow().getCellFromKey("Filter").getValue() + "*'");

Children
No Data