Hi, i create a panel consist of master and detail, for detail i using grid. my goal is i want to disable all components except two button (so user cannot update the data), everything work's perfectly i am able to disable all components and enable two buttons. the problem is the grid that display the detail are also disable and i cannot scroll horizontally or scroll vertically, are there any solution so i can disable all the components on the panel but i still can navigate the grid. I saw your blog with title ING modernized its Forms application with Formspider and in one of the screenshot there is a grid with scroll bar along side the grid. can you tell me how to achieve that. Sorry i ask too many, Thank you. |
i try to use api_component.setEditable seem to work only for datasource with single column primary key, some of ours table have more than 1 column as primary key. I tried to set the primary key at the datasource, but api_component.setEditable keep returning error that "specific primary key not found in dataset"
finally i just add another column to my table, I store the state of my table is update-able or not. By using one of the grid function editableColumn I refer it to my column.
Hi Huwardi, Happy to hear that the problem is resolved! :-)