allenchow Posted June 14, 2018 Author Share Posted June 14, 2018 But in another application , I've set the first column width to 120 and save. But when I open it again , it changed back to 64 ! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 14, 2018 Share Posted June 14, 2018 Maybe try this one, you will see spaces in page 1 or page 2 Yes, I see the issue Please report to support portal with this testcase Quote Link to comment Share on other sites More sharing options...
allenchow Posted June 14, 2018 Author Share Posted June 14, 2018 Hi, I'm sorry, I don't really understand your request Just like : http://forums.unigui.com/index.php?/topic/10721-selected-record/ When I select a row, it supposes to show the selected color , no matter what that original color it has . ... Quote Link to comment Share on other sites More sharing options...
allenchow Posted June 14, 2018 Author Share Posted June 14, 2018 But in another application , I've set the first column width to 120 and save. But when I open it again , it changed back to 64 ! Try this test case, I've set the first column width to 120, but when I open main.pas, it changes to 64. Project1.zip Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 14, 2018 Share Posted June 14, 2018 Try this test case, I've set the first column width to 120, but when I open main.pas, it changes to 64. I couldn't reproduce this issue Quote Link to comment Share on other sites More sharing options...
allenchow Posted June 14, 2018 Author Share Posted June 14, 2018 Is it due to version that I use : 1.10.0.1460? Quote Link to comment Share on other sites More sharing options...
allenchow Posted June 14, 2018 Author Share Posted June 14, 2018 Use the latest version , still the same ! Did you try opening the main.pas file and see the first column width is 64 ? Quote Link to comment Share on other sites More sharing options...
allenchow Posted June 15, 2018 Author Share Posted June 15, 2018 really frustrated ...... Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 17, 2018 Share Posted June 17, 2018 Yes, I see the issue Please report to support portal with this testcase Can you try to use this approach for now?!: procedure TMainForm.UniDBGrid1AfterLoad(Sender: TUniDBGrid); begin (Sender as TUniDBGrid).JSInterface.JSCall('view.autoSizeColumn', [0]); end; Quote Link to comment Share on other sites More sharing options...
allenchow Posted June 18, 2018 Author Share Posted June 18, 2018 Actually in many cases I want a fixed column width with word wrap inside Quote Link to comment Share on other sites More sharing options...
allenchow Posted June 18, 2018 Author Share Posted June 18, 2018 I’ve found something like this: Setting white-space: normal; causes rendering issues when scrolling, using ExtJS 6 You should set cellWrap: true on the column, as pointed out by this thread: https://www.sencha.com/forum/showthread.php?205554-extjs-grid-column-text-wrap-around-auto-expand Is it possible to have cellwrap implemented? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 18, 2018 Share Posted June 18, 2018 OK, we will check it Quote Link to comment Share on other sites More sharing options...
allenchow Posted June 19, 2018 Author Share Posted June 19, 2018 I think implementing cellWrap will solve the problem of white-space : normal inside css Quote Link to comment Share on other sites More sharing options...
allenchow Posted August 7, 2018 Author Share Posted August 7, 2018 Any solution ? 1. for selected color 2. for wordwarp cell 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.