I need to edit the texts displayed in the grid.
The code I currently have is the following:
How can I add the message property in react grid? Where can I get the keys to complete the property?
Thanks for the help!
The code I currently have is the following:
<div className="grid-component">
<Grid
filterable={false}
resizable
sortable
{...dataState}
data={lcatData}
onDataStateChange={dataStateChange}
fixedScroll
pageable={pageConfig}
>
{/* <GridNoRecords>Custom message</GridNoRecords> */}
<Column field="ID1" title=" " width="50px" cell={CustomLinkCell} />
<Column field="ID2" title="#" width="50px" cell={CustomPinnedCell} />
<Column
field="isCustomRec"
title="Data type"
width="100px"
cell={CustomDataTypeCell}
/>
{columns.map((column, index) => {
return (
<Column
field={column.field}
title={column.title}
key={index}
width={column.width}
/>
);
})}
</Grid>
Thanks for the help!