TechTalkz.com Logo Ask the Expert

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Programing Languages > C#(C Sharp)

Notices

Grid Class and build a view for it

C#(C Sharp)


Reply
 
Thread Tools Display Modes
Old 19-10-2007, 01:29 PM   #1
R.A.F.
Guest
 
Posts: n/a
Grid Class and build a view for it

Hi,

I would like to know several things about the Grid class from
System.Windows.Controls :

1. Can we create new columns types (e.g. columns only with SpinBoxes, or
Progressbars, or comboboxes, ...) ?
if yes, how ?

2. If point 1 is possible, how can we sort items contained into cells of
those additional columns ?

3. if i understood well Grid class is only a class without any render on
form. What can i do to render it on form ? can i use GridView ?
how to tie them together ?

thanks a lot,

RAF
  Reply With Quote
Old 19-10-2007, 03:30 PM   #2
Mansi Shah
Guest
 
Posts: n/a
Re: Grid Class and build a view for it


Hi,

The answer for all your questions is GridView.
By gridview you can add new columns and put any control in that like
combobox,checkbox,links etc by template fields.

Regards,
Mansi Shah.

*** Sent via Developersdex http://www.developersdex.com ***
  Reply With Quote
Old 19-10-2007, 04:30 PM   #3
R.A.F.
Guest
 
Posts: n/a
Re: Grid Class and build a view for it

hi,

But GridView has some properties that i do not like.

RAF

Mansi Shah wrote:
> Hi,
>
> The answer for all your questions is GridView.
> By gridview you can add new columns and put any control in that like
> combobox,checkbox,links etc by template fields.
>
> Regards,
> Mansi Shah.
>
> *** Sent via Developersdex http://www.developersdex.com ***

  Reply With Quote
Old 19-10-2007, 04:31 PM   #4
R.A.F.
Guest
 
Posts: n/a
Re: Grid Class and build a view for it

But i dislike this first column (grey one) where is everytime the cursor
in DataGridView...

will I be able to manage it under GridView class ?
i mean to change it or directly to hide it from users' eyes and code ?


Mansi Shah wrote:
> Hi,
>
> The answer for all your questions is GridView.
> By gridview you can add new columns and put any control in that like
> combobox,checkbox,links etc by template fields.
>
> Regards,
> Mansi Shah.
>
> *** Sent via Developersdex http://www.developersdex.com ***

  Reply With Quote
Old 19-10-2007, 06:30 PM   #5
Mansi Shah
Guest
 
Posts: n/a
Re: Grid Class and build a view for it


Hi,

Gridview and DataGridView both are different.
You can manage all the things thru GridView. I personally always prefer
Gridview. If you have any problem regarding that then give sample code,
so that i can explain you in a better way..

Regards,
Mansi Shah.

*** Sent via Developersdex http://www.developersdex.com ***
  Reply With Quote
Reply

Thread Tools
Display Modes



< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 03:55 AM.


vBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2010, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional