How will i increase the width of coumn? scenario: I have a grid which is for dashboard level and also at application level ,in dashboard level it is working fine like image1. but same interface used in application level in (image 2). column not showing properly. (image1).(image2)
Discussion posts and replies are publicly visible
You can set the column width through width parameter like this
columns:{
a!gridColumn( label:"First Name", width: "2X" )...
Determines the column width. Valid values: "AUTO", "ICON", "ICON_PLUS", "NARROW", "NARROW_PLUS", "MEDIUM", "MEDIUM_PLUS", "WIDE", "1X", "2X", "3X", "4X", "5X", "6X", "7X", "8X", "9X", and "10X".
"AUTO"
"ICON"
"ICON_PLUS"
"NARROW"
"NARROW_PLUS"
"MEDIUM"
"MEDIUM_PLUS"
"WIDE"
"1X"
"2X"
"3X"
"4X"
"5X"
"6X"
"7X"
"8X"
"9X"
"10X"
but I have used readonly grid.
You can use width and weight property in editable grid also
columnConfigs: { a!gridLayoutColumnConfig( width: "DISTRIBUTE", weight:3 ), a!gridLayoutColumnConfig( width: "DISTRIBUTE", weight:2 ) }
Weight Determines how wide distributed columns are in relation to each other. Valid values: integers from 1 (default) to 10
yes I have given weight as 10 itself, but the thing is that same interface having more number of columns at application level but in dashboard level less no of columns. for rest of the columns I have given narrow.