PDA

View Full Version : Horizontal scrolling and DataGrid-component


ixlepixle
07-14-2004, 09:27 AM
I'm having a bit of trouble with the DataGrid-component. If I add a cell that has content wider than the dataGrid, it will not scroll horizontally. I've set the hScrollPolicy to "on" but that only adds a scrollbar if the columns are wider than the dataGrid. Does anyone know why and how I can make a workaround?:)

annexion
07-14-2004, 08:13 PM
It sounds like what you've set it to is "auto". That will display a horizontal scrollbar only if the amount of columns and their widths are wider than the datagrid.

ixlepixle
07-15-2004, 07:25 AM
Aw, dang, I found the error :) All it took was to increase the column width and then it worked like a charm. Thanks anyway annexion :)