Announcement

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

    remove combobox contents in smart gwt datefilter for list grid

    Hi

    is it possible to remove few of the contents like yesterday,today from the combobox that appears while filtering date field in smart gwt listgrid? Please clarify in detail as am new to this technology

    Thanks
    Last edited by gwtdeveloper159; 1 Aug 2014, 05:32.

    #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

    Working...
    X