Hello,
Thank you for your example.
I have a couple of suggestions based on it:
1) Please pass the required className and styles to the custom cells. They are part of the props:
const DemoCell = (props) => <Demo {...props} />;
class Demo extends Component {
render() {
return (
<td
className={this.props.className}
style={this.props.style}
>demo</td>
);
}
}
2) The width of the table has to be equal to the combined width of the columns. We agree that this is missing from the documentation and we will add it to the article.
This is the updated example:
https://stackblitz.com/edit/react-treelocking-hsqvrk?file=index.jsRegards,
Stefan
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items