Datagrid problems

  • Thread starter Thread starter Pedro Januário
  • Start date Start date
P

Pedro Januário

Hi,

I need to put the datagrid scrollbar always visible, and i don't know if its
possible.
I have tryed another aproach but didn't work too, i was trying to shrink
column size every time scroll need to be displayed, the problem is that the
update or refresh method doesn't change the column size.
 
In the datagrid re-size event, check to see if the VScrollBar is
visible,
then loop through the DataGridColumnStyle in the DataGridTableStyle
and chage shrink the columns to grid width.
 
My problem isn't identify when the scroll is visible, the problem is that i
changed the columns width and that isn't reflected to the screen.
Even if i call refresh or update method of the datagrid object.
 
Back
Top