Hi,
I am having many issues with autofitting a cube grid. I tried many different things for a while, and nothing works. I want the cube grid to be autofitted such that the widths of all the fields fit both the header and data contents, but no larger. Please see the attached sample code in "BuiltinDS.java" and help me to fix these issues.
1. The "2016_02_03.14_54" column is way too large. It seems like this issue is partly caused by cubeGrid.setHideEmptyFacetValues(true), but I am not sure why this would break the autofitting. We need to hide the columns that have empty values.
2. The "PNR_StageName" and "ProjName_Revision/Block_Name/Layout_Rundir_Name/metric" columns are stuck at 100 pixels. I have not found any way to adjust this by any means, much less auto fit it, which is what I want. You can see how the text is clipped.
I have tried both setAutoFitData() and autoFitFields(), and neither works properly. Thanks for your help. I am using the August 9 version of SmartGWT 6.1p.
Screenshot illustrating the problem:
I am having many issues with autofitting a cube grid. I tried many different things for a while, and nothing works. I want the cube grid to be autofitted such that the widths of all the fields fit both the header and data contents, but no larger. Please see the attached sample code in "BuiltinDS.java" and help me to fix these issues.
1. The "2016_02_03.14_54" column is way too large. It seems like this issue is partly caused by cubeGrid.setHideEmptyFacetValues(true), but I am not sure why this would break the autofitting. We need to hide the columns that have empty values.
2. The "PNR_StageName" and "ProjName_Revision/Block_Name/Layout_Rundir_Name/metric" columns are stuck at 100 pixels. I have not found any way to adjust this by any means, much less auto fit it, which is what I want. You can see how the text is clipped.
I have tried both setAutoFitData() and autoFitFields(), and neither works properly. Thanks for your help. I am using the August 9 version of SmartGWT 6.1p.
Screenshot illustrating the problem:
Comment