August 12th, 2011, 03:08 AM
Datagrid Horizontal Scrollbar is Unusable
Hye. I have a datagrid which retrieves values from database. The datagrid contains only 1 column. Since some of the values in cells are long, we can only see half of the value. So, I enabled both of the scroll bars; the horizontal and vertical. But I can only use the vertical scroll bar while the horizontal scroll bar is unusable. Its color shows like it was disabled. Can anyone tell me how can I make it usable?
I place this code to enable both scroll bars:
By the way, both scroll bars are automatically generated. I mean, I didn't put Hscrollbar or VScrollbar objects on the datagrid.
dbgUserDefDocs.ScrollBars = dbgBoth
Last edited by fajarjalal; August 12th, 2011 at 03:10 AM.
Reason: Grammatical Mistake
Tags for this Thread
Click Here to Expand Forum to Full Width