PDA

View Full Version : Grid Header isFixed Flag



bhvijaykumar
5 Apr 2011, 2:33 PM
guys , whats the rational behind using the fixed flag of ColumnConfig to display the context menu in the GridView Header

From the comment i understood it as to have the Fixed width for the column but looks like it has some implied meaning in header .

@see GridView.createContextMenu(final int colIndex)

for (int i = 0; i < cols; i++) {
if (cm.getColumnHeader(i) == null || cm.getColumnHeader(i).equals("") || cm.isFixed(i)) {
continue;
}


So how can i allow the width of the Column be fixed and also allow the user to select which column he want to see.

bhvijaykumar
6 Apr 2011, 4:09 PM
any one know about the reason ?