mhmda Posted December 23, 2014 Share Posted December 23, 2014 Hi all, When we use the unidbgrid and set readonly=true and connect it to datasource and run the app, when double click on row it became editable (nothing save) how can we prevent it from become editable although the 'readonly'=true also the fields is readonly? any suggestion? Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted December 23, 2014 Administrators Share Posted December 23, 2014 uniDBGrid.ReadOnly or Field.ReadOnly or Column.ReadOnly will prevent this. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted December 23, 2014 Administrators Share Posted December 23, 2014 When do you set the Grid readonly? At design time? Quote Link to comment Share on other sites More sharing options...
lema Posted December 23, 2014 Share Posted December 23, 2014 Hi all, When we use the unidbgrid and set readonly=true and connect it to datasource and run the app, when double click on row it became editable (nothing save) how can we prevent it from become editable although the 'readonly'=true also the fields is readonly? any suggestion? Did you assign or change unidbgrid.datasource in runtime ? I my case that was the problem. Quote Link to comment Share on other sites More sharing options...
Mediv07 Posted December 24, 2014 Share Posted December 24, 2014 I also have problems such properties set at design time and at the grid and columns, tried to repeat the situation in the demo application did not work. Apparently error occurs when a particular situation. Quote Link to comment Share on other sites More sharing options...
mhmda Posted December 24, 2014 Author Share Posted December 24, 2014 I set 'readonly' at design time in all places where is it possible (grid,table...) still have problem Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted December 24, 2014 Administrators Share Posted December 24, 2014 I set 'readonly' at design time in all places where is it possible (grid,table...) still have problem Please create a Bug Report with a test case. Thank you Quote Link to comment Share on other sites More sharing options...
lema Posted December 24, 2014 Share Posted December 24, 2014 Please create a Bug Report with a test case. Thank you http://forums.unigui.com/index.php?/topic/4888-dbgrid-is-editable-even-if-everything-is-set-as-readonly/?p=24738 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.