You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pass column to the filter cell editor. Type it also in EditorProps.
Reason:
I would like to render different input component when my column is numeric. I could figure this out based on my column properties, but unfortunatelly right now I cannot do anything because I get only: value, disabled, onChange, getMessage.
Example:
<TableFilterRow
editorComponent={(props) => { /* props.column is needed in here */
It's a very "cheap" feature, because everything is in the scope (dx-react-grid.umd.js):
The text was updated successfully, but these errors were encountered:
ushkal
changed the title
TableFilterRow -> editorComponent -> add column to the props
Pass a column to the TableFilterRow's editorComponent
Apr 23, 2020
Thank you for this suggestion. We'll consider implementing it in future releases. in the meantime, you can pass a column property as shown in this example.
I'm using ...
Description
Pass
column
to the filter cell editor. Type it also inEditorProps
.Reason:
I would like to render different input component when my column is numeric. I could figure this out based on my column properties, but unfortunatelly right now I cannot do anything because I get only: value, disabled, onChange, getMessage.
Example:
It's a very "cheap" feature, because everything is in the scope (dx-react-grid.umd.js):
The text was updated successfully, but these errors were encountered: