Announcement

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

    ListgridField with MiniDateRangeItem as filterEditorType and showChooserWeekPicker

    Version v9.0p_2013-07-20/LGPL Development Only (2013-07-20)

    I've a ListGrid with a date field on which I've configured a MiniDateRangeItem as filterEditorType. It works right...

    Code:
    {name: 'rb03_date',
    title: 'Date',
    dateFormatter : 'toEuropeanShortDate',
    filterEditorType: 'MiniDateRangeItem',
    width: '100'},
    But I would like to add the chooser week pick option (showChooserWeekPicker = true) to the embedded DateItems of the MiniDateRangeItem. Does anybody knows if there is any straight way to pass this property to the embedded DateItems in the ListGridField configuration?

    Thanks....

    #2
    Set field.filterEditorProperties and use a whole chain of AutoChildren - miniDateRangeItem.rangeDialog -> dateRangeDialog.rangeItem -> etc

    Comment


      #3
      I've tried in this way (Maybe I misunderstood)

      Code:
      {name: 'rb03_date',
      title: 'Date',
      dateFormatter : 'toEuropeanShortDate',
      filterEditorType: 'MiniDateRangeItem',
      filterEditorProperties : {rangeDialog: {rangeItem : {fromField : {showChooserWeekPicker : true}}}},
      width: '100'},
      But not works.

      I've also tried in this way
      Code:
      {name: 'rb03_date',
      title: 'Date',
      dateFormatter : 'toEuropeanShortDate',
      filterEditorType: 'MiniDateRangeItem',
      filterEditorProperties : {rangeItemProperties: {fromFieldProperties : {showChooserWeekPicker : true}}},
      width: '100'},
      But no luck.

      Thanks for the response...

      Comment

      Working...
      X