Sorry! ;-)
In your page you have somewhere...
Code:
...
<row>
<t:fixgrid ... objectbinding="#{d.Xyz.grid}" .../>
</row>
...
So in your code you have:
Code:
public class Xyz
{
FIXGRIDListBinding<GridItem> m_grid = new FIXGRIDListBinding<GridItem>();
public FIXGRIDListBinding getGrid() { return m_grid; }
}
So now add a field + button to your layout (e.g. in a row on top of the grid)
Code:
...
<row>
<t:field ... text="#{d.Xyz.searchText}" .../>
<t:button ... text="Seach!" actionListener="#{d.Xyz.onSearchAction}" .../>
</row>
<row>
<t:fixgrid ... objectbinding="#{d.Xyz.grid}" .../>
</row>
...
and add to your code:
Code:
public class Xyz
{
FIXGRIDListBinding<GridItem> m_grid = new FIXGRIDListBinding<GridItem>();
public FIXGRIDListBinding getGrid() { return m_grid; }
String m_searchText = "";
public set/getSearchText ...
public void onSearchAction(ActionEvent event)
{
m_grid.getTextSearcher().setText(m_searchText);
m_grid.getTextSearchrer().onNext(null);
}
}
Hope this makes it clearer... I did write the code directly into the text above + hope I did not make too many typoes...
Regards, Björn