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
Mansi Shah - 19 Oct 2007 10:51 GMT
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.A.F. - 19 Oct 2007 11:05 GMT
hi,
But GridView has some properties that i do not like.
RAF
> Hi,
>
[quoted text clipped - 6 lines]
>
> *** Sent via Developersdex http://www.developersdex.com ***
R.A.F. - 19 Oct 2007 11:47 GMT
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 ?
> Hi,
>
[quoted text clipped - 6 lines]
>
> *** Sent via Developersdex http://www.developersdex.com ***
Mansi Shah - 19 Oct 2007 13:39 GMT
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.