bdiri Posted November 8, 2022 Share Posted November 8, 2022 UniDBGrid strange behavior after resize Column Hi all I have strange behavior after resizing UniDBGrid with those coditions - ForceFit = True - Filter Enabled For all Columns - No Column locked Demo of error and testcase attached Thanx GridFiltering_02.rar Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 8, 2022 Share Posted November 8, 2022 Hello, Which build? Quote Link to comment Share on other sites More sharing options...
bdiri Posted November 8, 2022 Author Share Posted November 8, 2022 The last one Complete Professional 1.90.0.1564 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 8, 2022 Share Posted November 8, 2022 2 hours ago, bdiri said: Did you attach exactly this testcase? I couldn't reproduce your case. What browser are you using? Quote Link to comment Share on other sites More sharing options...
bdiri Posted November 8, 2022 Author Share Posted November 8, 2022 yes sir the same project, i use : Google Chrome : Version 107.0.5304.88 (Build officiel) (64 bits) Windows 11 Professionnel 64 bits Delphi 11 Update 2 Quote Link to comment Share on other sites More sharing options...
bdiri Posted November 8, 2022 Author Share Posted November 8, 2022 PS : - I have access to the project web server from many others PCs ( windows 10 )and i have the same Bug - Same thing with chrome and Microsoft Edge navigator Quote Link to comment Share on other sites More sharing options...
bdiri Posted November 8, 2022 Author Share Posted November 8, 2022 i update attached testcase file with the same to be sure Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 8, 2022 Share Posted November 8, 2022 On first start, there are fixed columns: 3 hours ago, bdiri said: - No Column locked Quote Link to comment Share on other sites More sharing options...
bdiri Posted November 8, 2022 Author Share Posted November 8, 2022 i am sorry, i have update testcase file attached after save project there is no problem if one or more column locked Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 8, 2022 Share Posted November 8, 2022 3 hours ago, bdiri said: - ForceFit = True - Filter Enabled For all Columns - No Column locked As I understand, we ourselves must apply these values... I will check. Quote Link to comment Share on other sites More sharing options...
bdiri Posted November 8, 2022 Author Share Posted November 8, 2022 yes, bug appear only with those conditions Thank you, waiting your feedback Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 8, 2022 Share Posted November 8, 2022 Yes, I was able to reproduce, need to analyze this behavior. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 10, 2022 Share Posted November 10, 2022 On 11/8/2022 at 9:45 PM, bdiri said: yes, bug appear only with those conditions Hello, Can you try this workaround for now? procedure TMainForm.UniFormCreate(Sender: TObject); begin with UniDBGrid1 do if ForceFit then begin ForceFit := False; JSInterface.JSAddListener('reconfigure', 'function(sender, store, columns, oldStore, oldColumns, eOpts){columns.forEach(function(col){if (col.dataIndex>-1) {col.setFlex(1)}})}') end; end; Quote Link to comment Share on other sites More sharing options...
bdiri Posted November 10, 2022 Author Share Posted November 10, 2022 Hello Work perfectly thank you Boss 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.