Posted 15 April 2021, 9:51 pm 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 15 April 2021, 9:51 pm EST
Posted 15 April 2021, 9:51 pm EST
we have been using wijmo flex grid in our angular application.i want to make field values selectable but non editable.
Posted 19 April 2021, 4:21 pm 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 21 April 2021, 5:17 pm EST
i need to make some of the columns non editable and copy the content by selecting the column
Posted 25 April 2021, 5:50 pm 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