Grid Class and build a view for it

R

R.A.F.

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
 
M

Mansi Shah

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.
 
R

R.A.F.

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 ?
 
M

Mansi Shah

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top