There is a week number column in each of the date filtering calendars. It would be nice to have this as an optional feature. This week number might be confusing to a user seeing it for the first time.
As can be seen in the documentation, there is no prop in filterEditorProps that allows for the week number column to be removed.
filterEditorProps: (props, { index }) => { // for range and notinrange operators, the index is 1 for the after fieldreturn {dateFormat: 'MM-DD-YYYY',cancelButton: false,highlightWeekends: false,placeholder: index == 1 ? 'Created date is before...': 'Created date is after...'}},
Optional Week Number Column in Date Calendar
Problem Statement
There is a week number column in each of the date filtering calendars. It would be nice to have this as an optional feature. This week number might be confusing to a user seeing it for the first time.
As can be seen in the documentation, there is no prop in filterEditorProps that allows for the week number column to be removed.
filterEditorProps: (props, { index }) => { // for range and notinrange operators, the index is 1 for the after field return { dateFormat: 'MM-DD-YYYY', cancelButton: false, highlightWeekends: false, placeholder: index == 1 ? 'Created date is before...': 'Created date is after...' } },
Documentation
Proposed Change:
Create new boolean prop in filterEditorProps (i.e. displayWeekNumColumn). When true, the week number column is shown, and when false, it is not.