PC Review


Reply
Thread Tools Rate Thread

Datagrid First Column Freeze

 
 
=?Utf-8?B?QXJ1bmt1bWFy?=
Guest
Posts: n/a
 
      2nd Jun 2005
Hello Everyone,

Is it possible to freeze the first column of DataGrid. I am using VS.Net C#
for Pocket PC application.
Can anyone through some light on this,

Thanks
 
Reply With Quote
 
 
 
 
Sergey Bogdanov
Guest
Posts: n/a
 
      2nd Jun 2005
Try this approach:
http://groups-beta.google.com/group/...956a5763?hl=en

The hitInfo.Column property will give you the number of the column where
the user has clicked.

--
Sergey Bogdanov
http://www.sergeybogdanov.com


Arunkumar wrote:
> Hello Everyone,
>
> Is it possible to freeze the first column of DataGrid. I am using VS.Net C#
> for Pocket PC application.
> Can anyone through some light on this,
>
> Thanks

 
Reply With Quote
 
=?Utf-8?B?QXJ1bmt1bWFy?=
Guest
Posts: n/a
 
      3rd Jun 2005
Thanks for your reply Sergey, but what I really wanted is to freeze the first
column alone while scrolling horizontally.
My requirement is to keep the first column static while scrolling something
like data written on the row header.
I tried to have the data in Row header but failed, so kept that in First
column, but still trying to freeze the first column, please help.




"Sergey Bogdanov" wrote:

> Try this approach:
> http://groups-beta.google.com/group/...956a5763?hl=en
>
> The hitInfo.Column property will give you the number of the column where
> the user has clicked.
>
> --
> Sergey Bogdanov
> http://www.sergeybogdanov.com
>
>
> Arunkumar wrote:
> > Hello Everyone,
> >
> > Is it possible to freeze the first column of DataGrid. I am using VS.Net C#
> > for Pocket PC application.
> > Can anyone through some light on this,
> >
> > Thanks

>

 
Reply With Quote
 
Sergey Bogdanov
Guest
Posts: n/a
 
      3rd Jun 2005
In your case the best way would be to place two datagrid on the same
form:- the first one emulates row header, the second contains data.

--
Sergey Bogdanov
http://www.sergeybogdanov.com


Arunkumar wrote:
> Thanks for your reply Sergey, but what I really wanted is to freeze the first
> column alone while scrolling horizontally.
> My requirement is to keep the first column static while scrolling something
> like data written on the row header.
> I tried to have the data in Row header but failed, so kept that in First
> column, but still trying to freeze the first column, please help.
>
>
>
>
> "Sergey Bogdanov" wrote:
>
>
>>Try this approach:
>>http://groups-beta.google.com/group/...956a5763?hl=en
>>
>>The hitInfo.Column property will give you the number of the column where
>>the user has clicked.
>>
>>--
>>Sergey Bogdanov
>>http://www.sergeybogdanov.com
>>
>>
>>Arunkumar wrote:
>>
>>>Hello Everyone,
>>>
>>>Is it possible to freeze the first column of DataGrid. I am using VS.Net C#
>>>for Pocket PC application.
>>>Can anyone through some light on this,
>>>
>>>Thanks

>>

 
Reply With Quote
 
AlexL [Xceed]
Guest
Posts: n/a
 
      3rd Jun 2005
Or, even easier, just use a better grid, that supports column
freezing.

Xceed Grid for .NET lets you freeze the leftmost column with 1 or 2
lines of code.

http://www.xceedsoft.com/products/gridnet

On Fri, 03 Jun 2005 11:45:11 +0300, Sergey Bogdanov
<(E-Mail Removed)> wrote:

>In your case the best way would be to place two datagrid on the same
>form:- the first one emulates row header, the second contains data.


--
Alex Leblanc
Xceed Software Inc.
http://www.xceedsoft.com

High-quality ActiveX and .NET libraries and controls

Email: (E-Mail Removed) (remove the first 'x')
 
Reply With Quote
 
=?Utf-8?B?QWxleCBZYWtobmluIFtNVlBd?=
Guest
Posts: n/a
 
      3rd Jun 2005
Does it run on .NET Compact Framework?
--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com | www.opennetcf.org


"AlexL [Xceed]" wrote:

> Or, even easier, just use a better grid, that supports column
> freezing.
>
> Xceed Grid for .NET lets you freeze the leftmost column with 1 or 2
> lines of code.
>
> http://www.xceedsoft.com/products/gridnet
>
> On Fri, 03 Jun 2005 11:45:11 +0300, Sergey Bogdanov
> <(E-Mail Removed)> wrote:
>
> >In your case the best way would be to place two datagrid on the same
> >form:- the first one emulates row header, the second contains data.

>
> --
> Alex Leblanc
> Xceed Software Inc.
> http://www.xceedsoft.com
>
> High-quality ActiveX and .NET libraries and controls
>
> Email: (E-Mail Removed) (remove the first 'x')
>

 
Reply With Quote
 
=?Utf-8?B?QXJ1bmt1bWFy?=
Guest
Posts: n/a
 
      3rd Jun 2005
I think it will not run on CF, Thanks for your suggestion Sergey, I will try
that option, and Do you anyone think, is there any other way I can achieve
this task.



"Alex Yakhnin [MVP]" wrote:

> Does it run on .NET Compact Framework?
> --
> Alex Yakhnin, .NET CF MVP
> www.intelliprog.com | www.opennetcf.org
>
>
> "AlexL [Xceed]" wrote:
>
> > Or, even easier, just use a better grid, that supports column
> > freezing.
> >
> > Xceed Grid for .NET lets you freeze the leftmost column with 1 or 2
> > lines of code.
> >
> > http://www.xceedsoft.com/products/gridnet
> >
> > On Fri, 03 Jun 2005 11:45:11 +0300, Sergey Bogdanov
> > <(E-Mail Removed)> wrote:
> >
> > >In your case the best way would be to place two datagrid on the same
> > >form:- the first one emulates row header, the second contains data.

> >
> > --
> > Alex Leblanc
> > Xceed Software Inc.
> > http://www.xceedsoft.com
> >
> > High-quality ActiveX and .NET libraries and controls
> >
> > Email: (E-Mail Removed) (remove the first 'x')
> >

 
Reply With Quote
 
AlexL [Xceed]
Guest
Posts: n/a
 
      7th Jun 2005
No, it doesn't run on the .NET Compact Framework. I'm sorry, I did not
notice this was a post in the Compact Framework newsgroup

On Fri, 3 Jun 2005 12:01:03 -0700, Alex Yakhnin [MVP]
<(E-Mail Removed)> wrote:

>Does it run on .NET Compact Framework?


--
Alex Leblanc
Xceed Software Inc.
http://www.xceedsoft.com

High-quality ActiveX and .NET libraries and controls

Email: (E-Mail Removed) (remove the first 'x')
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Freeze Column in DataGrid Agnes Microsoft VB .NET 7 7th Aug 2008 04:06 PM
Freeze first column in datagrid in vb.net Localbar Microsoft VB .NET 5 1st Aug 2007 02:48 AM
datagrid freeze column gcmf8888 Microsoft C# .NET 10 8th Aug 2004 05:10 PM
How to freeze the first datagrid column? Eusebio Microsoft VB .NET 1 2nd Jul 2004 07:18 PM
Freeze column(s) in a Datagrid =?Utf-8?B?QmVu?= Microsoft ASP .NET 1 5th Jun 2004 07:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:01 AM.