Alr1976 Posted May 27, 2025 Posted May 27, 2025 When i use Multiselect, first line is always checked. I tried to use dgdontshowselect but doesn' t works. Quote
Sherzod Posted May 27, 2025 Posted May 27, 2025 36 minutes ago, Alr1976 said: When i use Multiselect, first line is always checked. I tried to use dgdontshowselect but doesn' t works. Hello, I wasn’t able to reproduce your case. Could you please let us know which uniGUI build/version you are using? Also, are you sure you're correctly assigning the dgDontShowSelect option? Quote
Alr1976 Posted June 5, 2025 Author Posted June 5, 2025 Hi! I m using 1.95.0 (Impulse). Yes i got dgDontShowSelect option selected Quote
Stemon63 Posted July 29, 2025 Posted July 29, 2025 Hi, there are news on this problem? (First row is always checked on select column) Thanks Quote
Sherzod Posted July 29, 2025 Posted July 29, 2025 2 minutes ago, Stemon63 said: there are news on this problem? (First row is always checked on select column) Hello, Which build? Can you make a simple testcase to check? Quote
Stemon63 Posted July 29, 2025 Posted July 29, 2025 Hello Sherzod, UniGUIVersion: 1.95.0.1595 ExtJSVersion: 7.8.0 But this is a problem already present from Years 🙂 Good Job Quote
Sherzod Posted July 29, 2025 Posted July 29, 2025 2 minutes ago, Stemon63 said: But this is a problem already present from Years 🙂 On 5/27/2025 at 7:41 PM, Sherzod said: On 5/27/2025 at 7:04 PM, Alr1976 said: When i use Multiselect, first line is always checked. I tried to use dgdontshowselect but doesn' t works. Hello, I wasn’t able to reproduce your case. Could you please let us know which uniGUI build/version you are using? Also, are you sure you're correctly assigning the dgDontShowSelect option? Quote
Stemon63 Posted July 29, 2025 Posted July 29, 2025 Hi Sherzod, I tried it and it actually works with dgDontShowSelect=true. You were right! 😃 I take this opportunity to make my request: But how can I clear the selection list at runtime? (Or even assign the selection at runtime)? Thanks a lot. Quote
Sherzod Posted July 29, 2025 Posted July 29, 2025 21 minutes ago, Stemon63 said: But how can I clear the selection list at runtime? (Or even assign the selection at runtime)? This post may help you: Quote
mazluta Posted July 29, 2025 Posted July 29, 2025 after open the table connected to the dbgrid and only once try : UniSession.AddJS(XXXXXGrid.JSName + '.getSelectionModel().deselectAll()'); 1 Quote
mazluta Posted July 30, 2025 Posted July 30, 2025 BTW, if u have more the one grid u let the user select from then create global onload event for the dbgrid and set : procedure TIturSearchFrame.ClearGridSelectedAfterLoad(Sender: TUniCustomDBGrid); var DBGridJSName: string; begin DBGridJSName := (Sender as TUniCustomDBGrid).JSName; UniSession.AddJS('setTimeout(function(){'+ DBGridJSName +'.getSelectionModel().deselectAll()}, 50)'); end; and dont do it after open. so every time the grid id reloaded u clean the select rec sign 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.