Hello.
I am using the TreeList component. I set a certain width for the columns. But the width of the columns adjusts to the length of the text. This option does not suit me. It is necessary that the text be in one line, and if it does not fit the width of the column, it is cut off with three points at the end.
In the Grid component, you can crop the text by setting {whiteSpace: 'nowrap'}. But it doesn't work in TreeList.
Tell me a way, please, in which for the Treelist component it is possible to crop the text in the cells to fit the specified column width. This should work for the cells in the header as well
https://stackblitz.com/edit/react-uwfztz-j3uz6q?file=app%2Fapp.tsx,app%2Frenderers.tsx
I am using the TreeList component. I set a certain width for the columns. But the width of the columns adjusts to the length of the text. This option does not suit me. It is necessary that the text be in one line, and if it does not fit the width of the column, it is cut off with three points at the end.
In the Grid component, you can crop the text by setting {whiteSpace: 'nowrap'}. But it doesn't work in TreeList.
Tell me a way, please, in which for the Treelist component it is possible to crop the text in the cells to fit the specified column width. This should work for the cells in the header as well
https://stackblitz.com/edit/react-uwfztz-j3uz6q?file=app%2Fapp.tsx,app%2Frenderers.tsx