smartgwt - Possible to insert some text String into filter text area -


I have ListGrid and above each column of data, is a filter box. I can read from there and suppress the filter to filter out. How can I add some text to a text box with any method of code? I want to get a filter box on top of a column, then enter a certain string text in it so that the user can press the filter button instead of typing it

Steps to follow:

  • Use ListGrid.setShowFilterEditor to show the filter on the grid
  • Use ListGridField.setFilterEditorProperties (textItem) to show the filter on a specific column

    Example To:

    TextItem TextItem = New Textime (); // set default value list grid field.Set filterAditor properties (textItem);
  • Use the ListGrid.addFilterEditorSubmitHandler () (if necessary) to submit the filter editor.

Follow


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -