Announcement

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

    Remove combobox item contents from date filter in smartgwt ListGrid

    Hi

    Is there a way where we can remove the combobox contents that appear in date filter in listgrid like Today,Tomorrow...
    this is the code for grid and filter
    ListGrid grid=New ListGrid();
    grid.setShowFilterEditor(true);
    grid.setFilterOnKeypress(true);



    Thanks

    #2
    Hi gwtdeveloper159,

    please see the docs on DateRangeItem.setAllowRelativeDates() and (perhaps) on AutoChildUsage.

    If you use the AutoChild-approach, please post your solution here. Otherwise it might (did not test it) work like this (use it before you draw any components):

    Code:
    DateRangeItem dri = new DateRangeItem();
    dri.setAllowRelativeDates(false);
    DateRangeItem.setDefaultProperties(dri);
    Best regards,
    Blama

    Comment


      #3
      I am using JDBCRealm Authentication, but the relogin-window is not appearing when the session expires, so I am investigating what is the problem.






      _________________
      Our excellent online Certkiller a+ book training programs will lead you to success in the comptia a plus 220-802 We also offer latest sckans and examsheets.com with 100% success Palm Beach Atlantic University Our selftestengine is rare in IT world.
      Last edited by Branzila143; 5 Mar 2015, 03:05.

      Comment

      Working...
      X