Nadya Posted November 19, 2020 Share Posted November 19, 2020 Hi! I use UNIGUI build 1.90.0.1539 It's nesessary to catch user's clicks on DBTreeGrid column with checkboxes, but CellClick event doesn't triggered for such column Why? Is it normal behavior? I've tried to enable Editing option for my TreeGrid but it doesn't help. Tried CellClick also on UniDBTreeGrid2 on "Capital" column in demo project (\uniGUI\Demos\Desktop\Grid - DBTreeGrid), result is the same. Thanks for any help! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 19, 2020 Share Posted November 19, 2020 Hi Nadya, I will check. 1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 19, 2020 Share Posted November 19, 2020 41 minutes ago, Nadya said: It's nesessary to catch user's clicks on DBTreeGrid column with checkboxes, but CellClick event doesn't triggered for such column Your column is not readonly? Quote Link to comment Share on other sites More sharing options...
Nadya Posted November 19, 2020 Author Share Posted November 19, 2020 3 minutes ago, Sherzod said: Your column is not readonly? ReadOnly = False Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 19, 2020 Share Posted November 19, 2020 I couldn't reproduce your issue. Quote Link to comment Share on other sites More sharing options...
Nadya Posted November 19, 2020 Author Share Posted November 19, 2020 DBTreeGrid.zip Please click on cells of the UniDBTreeGrid2 If you would click on cells "Name" and "Population" - CellClick event calls ShowMessage Click on cell "Capital" doesnt's fire it Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 19, 2020 Share Posted November 19, 2020 4 minutes ago, Nadya said: Click on cell "Capital" doesnt's fire it 25 minutes ago, Sherzod said: Your column is not readonly? Set the value to "False" Quote Link to comment Share on other sites More sharing options...
Nadya Posted November 19, 2020 Author Share Posted November 19, 2020 25 minutes ago, Sherzod said: Set the value to "False" Sorry, I didn't notice that in demo project ReadOlny set to True. But in my main project ReadnOnly on Check column set to False, and ClickCell doesn't work. I'll try to apply all properties of my work grid to the grid in demo and try again Quote Link to comment Share on other sites More sharing options...
Nadya Posted November 19, 2020 Author Share Posted November 19, 2020 8 minutes ago, Nadya said: I'll try to apply all properties of my work grid to the grid in demo and try again DBTreeGrid2.zip I've set ReadOnly = False for "Capital" column and dgEditing = False in Grid options - CellClick doesn't work for "Capital" column only Quote Link to comment Share on other sites More sharing options...
Nadya Posted November 20, 2020 Author Share Posted November 20, 2020 16 hours ago, Sherzod said: Set the value to "False" Please see the test case I've attached to post above. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 20, 2020 Share Posted November 20, 2020 1 hour ago, Nadya said: Please see the test case I've attached to post above. Hi Nadya, OK, I will check. 1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 20, 2020 Share Posted November 20, 2020 6 hours ago, Nadya said: Please see the test case I've attached to post above. One possible solution, can you try it? 1. CustomCSS: .customGrid .x-item-disabled { pointer-events: auto !important; } 2. TreeDBGrid -> LayoutConfig->Cls = customGrid Quote Link to comment Share on other sites More sharing options...
Nadya Posted November 20, 2020 Author Share Posted November 20, 2020 1 hour ago, Sherzod said: 7 hours ago, Nadya said: Please see the test case I've attached to post above. One possible solution, can you try it? 1. CustomCSS: .customGrid .x-item-disabled { pointer-events: auto !important; } 2. TreeDBGrid -> LayoutConfig->Cls = customGrid Works perfect, thanks a lot!!! 1 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.