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 ! 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 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 . ... 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 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 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? 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 ? Link to comment Share on other sites More sharing options...
allenchow Posted June 15, 2018 Author Share Posted June 15, 2018 really frustrated ...... 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; 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 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? 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 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 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 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