mhmda Posted December 23, 2014 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
Administrators Farshad Mohajeri Posted December 23, 2014 Administrators Posted December 23, 2014 uniDBGrid.ReadOnly or Field.ReadOnly or Column.ReadOnly will prevent this. Quote
Administrators Farshad Mohajeri Posted December 23, 2014 Administrators Posted December 23, 2014 When do you set the Grid readonly? At design time? Quote
lema Posted December 23, 2014 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
Mediv07 Posted December 24, 2014 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
mhmda Posted December 24, 2014 Author Posted December 24, 2014 I set 'readonly' at design time in all places where is it possible (grid,table...) still have problem Quote
Administrators Farshad Mohajeri Posted December 24, 2014 Administrators 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
lema Posted December 24, 2014 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
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.