Hi friends,
I am using data grid view for displaying the data. I am binding the data from data table to data grid view .. The data from the data grid view is displaying but while while dynamically binding the data,horizontal scroll bar is enabled but not working properly .That means " when moving Scroll bar from left to right, suddenly it returned to left side ". please suggest some ideas to rectify this issue.
Thanks in advance,
Dj
Loading

Naeem KhanRank #2,072 · 698 reputationPosted Jul 8, 2012, 4:35 AM EDT
AutoSizeColumnsMode= Fill
AutoSizeRowsMode=Displayedcells
and try this property
change this property
RightToLeft=Yes
if its not getting solution then reply me ...
Devaraj Subramaniam12 reputationPosted Jul 8, 2012, 9:42 PM EDT
I tried but its not working. scroll bar is not shown.
can u say some other idea.
Thanks ,
DJ
Naeem KhanRank #2,072 · 698 reputationPosted Jul 8, 2012, 10:39 PM EDT
Devaraj Subramaniam12 reputationPosted Jul 9, 2012, 3:47 AM EDT
Actually i jus retrieve the values from database and store it in datatable , then i bind the data table to data grid view. first column header i created at design time but remaining things i created at run time . while binding the data's in data grid view,the horizontal scroll bar not working properly. i am binding the data continuously to data grid view , because its real time data which is retrieved from server and inserted into database. this is thing i done. so please try to suggest me.
Thanks,
Dj
Naeem KhanRank #2,072 · 698 reputationPosted Jul 9, 2012, 8:52 PM EDT
if its not help full then tell me..
thanks
Devaraj Subramaniam12 reputationPosted Jul 9, 2012, 9:37 PM EDT
i created only one header at run time but i changed that to design time but now also same issue. Totally i am using 8 columns , in that first two columns are created at design time and remaining columns are created in table. whether this thing make any problem?
Thanks in advance.
Dj
Naeem KhanRank #2,072 · 698 reputationPosted Jul 9, 2012, 9:47 PM EDT