Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Column attributes for Data components #2374

Closed
32 tasks done
mertsincan opened this issue Oct 31, 2021 · 0 comments
Closed
32 tasks done

Improve Column attributes for Data components #2374

mertsincan opened this issue Oct 31, 2021 · 0 comments
Assignees
Labels
Type: Breaking Change Issue contains a breaking change related to a specific component Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@mertsincan
Copy link
Member

mertsincan commented Oct 31, 2021

Removed Attributes;

  • loadingBody It is not necessary after new virtualScrol implementation. The 'loadingTemplate' option of virtualScrollerOptions attribute can be used instead.

Renamed Attributes;

In order to be more understandable in line with the feedback from the users, the attributes names related to the cell editor have been made more specific.

  • editorValidator -> cellEditValidator
  • editorValidatorEvent -> cellEditValidatorEvent
  • onBeforeEditorHide -> onBeforeCellEditHide
  • onBeforeEditorShow -> onBeforeCellEditShow
  • onEditorInit -> onCellEditInit
  • onEditorSubmit -> onCellEditComplete
  • onEditorCancel -> onCellEditCancel

New Attributes;

  • dataType Depending on the dataType of the column, suitable match modes are displayed.
  • showFilterMenu Whether to display the filter overlay.
  • showFilterOperator When enabled, match all and match any operator selector is displayed.
  • showClearButton Displays a button to clear the column filtering.
  • showApplyButton Displays a button to apply the column filtering.
  • showFilterMatchModes Whether to show the match modes selector.
  • showFilterMenuOptions Whether to show the match modes selector and match operator selector.
  • showAddButton When enabled, a button is displayed to add more rules.
  • filterMatchModeOptions An array of label-value pairs to override the global match mode options.
  • maxConstraints Maximum number of constraints for a column filter.
  • filterMenuClassName Style class of the column filter overlay.
  • filterMenuStyle Inline style of the column filter overlay.
  • alignFrozen Position of a frozen column, valid values are left and right.
  • hidden Whether the column is rendered.
  • onFilterClear Callback to invoke when the filter meta is cleared.
  • onFilterApplyClick Callback to invoke when the apply button is clicked.
  • onFilterMatchModeChange Callback to invoke when the match mode option is changed.
  • onFilterOperatorChange Callback to invoke when the filter operator option is changed.
  • onFilterConstraintAdd Callback to invoke when a new constraint is added.
  • onFilterConstraintRemove Callback to invoke when a constraint is removed.
  • filterClear Template of clear element in menu.
  • filterApply Template of apply element in menu.
  • filterHeader Template of header element in menu.
  • filterFooter Template of footer element in menu.
@mertsincan mertsincan added Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add Type: Breaking Change Issue contains a breaking change related to a specific component labels Oct 31, 2021
@mertsincan mertsincan added this to the 7.0.0 milestone Oct 31, 2021
@mertsincan mertsincan self-assigned this Oct 31, 2021
@mertsincan mertsincan modified the milestones: 8.0.0, 7.0.0-rc1 Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Breaking Change Issue contains a breaking change related to a specific component Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

1 participant