Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to Refetch a listGridField filter editor optionDataSource

    I have a few fields(ListGridFields) tied to optionDataSources and displayed in a ListGrid. I need to refetch these values when in filterEditor mode and an external action occurs. How can I accomplish this? What I need to accomplish is similar to refreshing the displayed data in a Formitem tied to a datasource. For that I am able to use the following code:

    ((SelectItem) itemFilterForm.getItem("item_id")).fetchData();

    I need to accomplish this same behavior on a ListGridField in the filtereditor for the desired fields.

    #2
    Solution to refresh

    from the forums we tried this solution which worked:

    associateSearchGrid.setShowFilterEditor(false);
    associateSearchGrid.setShowFilterEditor(true);

    Comment

    Working...
    X