Devextreme-reactive: How pass additional props to cellComponent

Created on 6 Sep 2019  路  2Comments  路  Source: DevExpress/devextreme-reactive

How I can pass additional props to cellComponent if this code is not valid:

<TableFilterRow cellComponent={(props) => <FilterCell additionalProps={'bla bla bla''} {...props} />} />

Grid question

Most helpful comment

Hi @KirillYoYo ,

Your code has some mistakes. To define cellComponent of TableFilterRow, you should return TableFilterRow.Cell, not FilterCell. Here is an example.
Let us know if it meets your needs.

All 2 comments

Hi @KirillYoYo ,

Your code has some mistakes. To define cellComponent of TableFilterRow, you should return TableFilterRow.Cell, not FilterCell. Here is an example.
Let us know if it meets your needs.

This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cavr picture cavr  路  3Comments

jesusgp22 picture jesusgp22  路  3Comments

ProjectaJE picture ProjectaJE  路  3Comments

sintuchintu picture sintuchintu  路  3Comments

rajmakda picture rajmakda  路  3Comments