Posted 16 April 2021, 6:51 am EST
we have been using wijmo flex grid in our angular application.i want to make field values selectable but non editable.
Forums Home / Wijmo / General Discussion
Posted by: ddayanandan on 16 April 2021, 6:51 am EST
Posted 16 April 2021, 6:51 am EST
we have been using wijmo flex grid in our angular application.i want to make field values selectable but non editable.
Posted 20 April 2021, 1:21 am EST
Hi,
You need to set the isReadOnly property to true to make the grid non-editable. You may refer to the following code snippet and the sample demonstrating the same:
<wj-flex-grid
#grid
[isReadOnly]="true"
[itemsSource]="data"
>
</wj-flex-grid>
https://codesandbox.io/s/wijmo-angular-forked-xel08?file=/src/app/app.component.html
API Reference:
• isReadOnly: https://www.grapecity.com/wijmo/api/classes/wijmo_grid.flexgrid.html#isreadonly
~ sharad
Posted 22 April 2021, 2:17 am EST
i need to make some of the columns non editable and copy the content by selecting the column
Posted 26 April 2021, 2:50 am EST
To make only some columns read-only, you may set the isReadOnly property on the column instance. Please refer to the following updated sample:
https://codesandbox.io/s/wijmo-angular-forked-0kdzh?file=/src/app/app.component.ts
API Reference:
• isReadOnly: https://www.grapecity.com/wijmo/api/classes/wijmo_grid.column.html#isreadonly