PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
DataGrid & Horizontal Scroll Bar
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
DataGrid & Horizontal Scroll Bar
![]() |
DataGrid & Horizontal Scroll Bar |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi All,
Environment: VS2005, VB.net , CF 2.0 with service pack 2 I am able to display data in the datagrid. there are 7 columns in the grid. Delivery,Return,Description,Quantity,total quantity. the gird displays first three columns Del,Return, Description (part of the description is displayed). when user click on the Description column Horizontal scroll bar Automatically adjusted to display Description field. in this Delivery,return columns are moved to left side and user can't see these fields. My requirement: When ever user clicks on the partically displayed Description field, stop horizontal scroll bar changing to display selected column. only when user manually scrolls horizontal scroll bar datagrid values has to be scrolled horizontally. |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Use HitTestInfo to find out the click on the datagrid is on he
Description filed, http://groups.google.com/group/micr...18fdd4e956a5763 Add datagrid value changed scroll event and handle the event by e.Handle = true; http://groups.google.com/group/micr...ff80ae526e13f72 Hope this helps, Cheers, Arun HCL America. On Nov 12, 1:12 am, vijay <vijaya.mo...@gmail.com> wrote: > Hi All, > > Environment: VS2005, VB.net , CF 2.0 with service pack 2 > > I am able to display data in the datagrid. there are 7 columns in the > grid. Delivery,Return,Description,Quantity,total quantity. the gird > displays first three columns Del,Return, Description (part of the > description is displayed). when user click on the Description column > Horizontal scroll bar Automatically adjusted to display Description > field. in this Delivery,return columns are moved to left side and user > can't see these fields. > > My requirement: > > When ever user clicks on the partically displayed Description field, > stop horizontal scroll bar changing to display selected column. only > when user manually scrolls horizontal scroll bar datagrid values has > to be scrolled horizontally. |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

