Welcome to the React feedback portal. We’re happy you’re here! If you have feedback on how to improve the React, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

Hi, I am implementing the React Grid ("@syncfusion/ej2-grids": "^16.4.46") Everything is working fine but Typescript is reporting the following error when I add "allowSearching":


Property 'allowSearching' does not exist on type '(IntrinsicAttributes & IntrinsicClassAttributes & Readonly<{ children?: string | n...'.

I checked the Grid class and the allowSearching property is missing from the class definition, but it still functions properly.  Will you please add the allowSearching property to the Grid Class or let me know what I should do to resolve it on my end?

Example of my grid component:

<GridComponent
enableHover={false}
allowSelection={true}
allowSorting={true}
selectionSettings={this.cellSelectionSettings}
cellSelecting={this.cellSelection}
dataSource={...}
allowGrouping={true}
allowPaging={false}
allowFiltering={false}
allowSearching={true}
toolbar={this.toolbarOptions()}
allowPdfExport={true}
allowExcelExport={true}
toolbarClick={this.toolbarClick.bind(this)}
pdfExportComplete={this.fileExpComplete.bind(this)}
excelExportComplete={this.fileExpComplete.bind(this)}
groupSettings={this.groupOptions}
queryCellInfo={this.queryCellInfo}
ref={g => (this.grid = g)}
height="100%"
gridLines="Both"
>
<Inject services={[Group, Toolbar, Search, Filter, Sort, ExcelExport, PdfExport, Page, CommandColumn]} />
GridComponent>