Use HitTestInfo to find out the click on the datagrid is on he
Description filed,
http://groups.google.com/group/micro...8fdd4e956a5763
Add datagrid value changed scroll event and handle the event by
e.Handle = true;
http://groups.google.com/group/micro...f80ae526e13f72
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.