Data not aligned correctly in ListGrid

Hi,
I have a list with the following properties, but when the data is displayed in the Grid, the data is not aligned properly with the Columns Headers.
ID: “myGrid”,
canHover: false,
showHover: false,
showRollOver: false,
dataPageSize: 50,
autoFetchData: true,
autoDraw: false,
canEdit: false,
showFilterEditor: true,
filterByCell: false,
alternateRecordStyles:false,
showCellContextMenus: true,
cellContextClick: “return gridMenu.showContextMenu()”

Any idea wha’s causing this.

Thanks

Hello Mohan,

What browser are you seeing this in?

The problem is probably not a ListGrid setting, more likely something in a CSS file. Does your page include any CSS files other than the ones included with SmartClient? Does the issue disappear if you temporarily remove those CSS files?

If so, look through the removed CSS files for styles that affect basic HTML elements, such as styles named “td”, “tr”, “table” or similar, which would affect every cell, row or table respectively in the page. Styles like these are an interoperability problem: they will prevent most HTML frameworks from rendering correctly (Ajax or not) and are not recommended.