sicoobcooplivre Posted May 9, 2022 Share Posted May 9, 2022 Good Morning! After upgrading to the full version, all columns of my grids using roweditor stopped working! They no longer appear in the combobox to be able to select! What can it be? Thank you! Link to comment Share on other sites More sharing options...
Sherzod Posted May 9, 2022 Share Posted May 9, 2022 Hello, What version did you use before? Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted May 9, 2022 Author Share Posted May 9, 2022 Hello, uni-1.90.0.1560 Has there been any change? Link to comment Share on other sites More sharing options...
Sherzod Posted May 9, 2022 Share Posted May 9, 2022 Have you checked with the Demo example? Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted May 9, 2022 Author Share Posted May 9, 2022 Sorry, my fault! I clear the project, recompiled and it worked! Thank you! 1 Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted May 9, 2022 Author Share Posted May 9, 2022 It still has the error: The following happens: I use an Edit button on the form, where if the user clicks, then I change the dbgrid options to dgEditing. When I switch to dgEditing, the fields that have editor option do not load the combobox! Any idea? Thank you! Link to comment Share on other sites More sharing options...
Sherzod Posted May 9, 2022 Share Posted May 9, 2022 Make a simple testcase to understand your case. Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted May 16, 2022 Author Share Posted May 16, 2022 Good afternoon! Apologies for the delay! Here's an example, please see how the combox looks after clicking the "EDIT" button! Thank you! GridEditors - Row Editor.rar Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted May 17, 2022 Author Share Posted May 17, 2022 Good afternoon! Can you help me? Link to comment Share on other sites More sharing options...
picyka Posted May 17, 2022 Share Posted May 17, 2022 12 minutos atrás, sicoobcooplivre disse: Boa tarde! Você pode me ajudar? procedure TMainForm.UniButton1Click(Sender: TObject); begin UniButton1.Enabled := False; UniButton2.Enabled := True; UniButton3.Enabled := True; Self.ClientDataSet1.Edit; //UniDBGrid1.Options := [dgEditing,dgTitles,dgIndicator,dgColumnResize,dgColLines,dgRowLines,dgConfirmDelete,dgTabs,dgCancelOnExit]; end; You can leave this dgEditing option enabled. Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted May 30, 2022 Author Share Posted May 30, 2022 @SherzodCan you help me please? Link to comment Share on other sites More sharing options...
Sherzod Posted May 30, 2022 Share Posted May 30, 2022 Hello, I will try to see your testcase. Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted May 30, 2022 Author Share Posted May 30, 2022 Please, I'm tangled up in this problem! Thanks! Link to comment Share on other sites More sharing options...
Sherzod Posted May 30, 2022 Share Posted May 30, 2022 4 hours ago, sicoobcooplivre said: Can you help me please? Not all grid options can be changed at runtime. Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted May 31, 2022 Author Share Posted May 31, 2022 @SherzodI understand. It turns out that when I used the personal version, it worked, and now that I bought the complete version, it stopped working! That's why I opened this doubt! There's nothing to do? Thanks! Link to comment Share on other sites More sharing options...
Sherzod Posted May 31, 2022 Share Posted May 31, 2022 1 hour ago, sicoobcooplivre said: There's nothing to do? Hello, You can use client side logic I think. Once again, describe what you want to achieve. Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted May 31, 2022 Author Share Posted May 31, 2022 @SherzodGood evening! Next, all my forms work the same as the example I put above. Please test my example, and tell me if it works there? Well, it doesn't work here. If it works there, I'll investigate what could be around here! Can you help me? Link to comment Share on other sites More sharing options...
Sherzod Posted May 31, 2022 Share Posted May 31, 2022 16 minutes ago, sicoobcooplivre said: Please test my example I have tested. 16 minutes ago, sicoobcooplivre said: and tell me if it works there? On 5/30/2022 at 9:04 PM, Sherzod said: Not all grid options can be changed at runtime. 17 minutes ago, sicoobcooplivre said: Can you help me? 3 hours ago, Sherzod said: You can use client side logic I think. Once again, describe what you want to achieve. Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted June 1, 2022 Author Share Posted June 1, 2022 @SherzodI attached a print of what my example looks like! Note that in the "City" field it does not display the Combobox! Oh for you it displays the Combobox? Link to comment Share on other sites More sharing options...
Sherzod Posted June 1, 2022 Share Posted June 1, 2022 @sicoobcooplivre I'm sorry, you don't seem to understand me. Yes, it's the same for me. But I told you the reason. Not all grid options can be changed at runtime. Therefore, I asked you what you want to achieve. I'll try to find a workaround for now. In any case, you can create a request in the support portal. Thanks. Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted June 1, 2022 Author Share Posted June 1, 2022 Sorry, I really didn't understand you. Now I get it! I appreciate your help! If you get something, please add it here. I will also study if I can another way! Thank you again! Link to comment Share on other sites More sharing options...
Sherzod Posted June 1, 2022 Share Posted June 1, 2022 21 minutes ago, sicoobcooplivre said: I really didn't understand you. Under what conditions do you want to disable editing, and vice versa enable editing? Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted June 7, 2022 Author Share Posted June 7, 2022 @SherzodGood evening! Here's the thing: I used the personal version. In all forms in my project, the behavior is the same: I have an edit, save and cancel button. And changing unidbgrid options at runtime worked. Now that I got the full version, all forms stopped working, according to the example I sent! Is there any way to make it work the way my example is? If there's no way, I'll think of another way and modify my entire project! Thanks! Link to comment Share on other sites More sharing options...
Sherzod Posted June 7, 2022 Share Posted June 7, 2022 2 minutes ago, sicoobcooplivre said: Here's the thing: I used the personal version. In all forms in my project, the behavior is the same: I have an edit, save and cancel button. And changing unidbgrid options at runtime worked. Now that I got the full version, all forms stopped working, according to the example I sent! Is there any way to make it work the way my example is? If there's no way, I'll think of another way and modify my entire project! Hello, Main goal, enable or disable editing? Link to comment Share on other sites More sharing options...
sicoobcooplivre Posted June 7, 2022 Author Share Posted June 7, 2022 So: by default, my forms load like this: UniDBGrid1.Options := [ dgTitles,dgIndicator,dgColumnResize,dgColLines,dgRowLines,dgConfirmDelete,dgTabs,dgCancelOnExit]; When I click the edit button, I need to change the options like this: UniDBGrid1.Options := [dgEditing,dgTitles,dgIndicator,dgColumnResize,dgColLines,dgRowLines,dgConfirmDelete,dgTabs,dgCancelOnExit]; and I need the roweditor combobox to work, as shown in the image. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now