473,387 Members | 3,033 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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
Oct 19 '07 #1
4 1160

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 ***
Oct 19 '07 #2
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 ***
Oct 19 '07 #3
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 ***
Oct 19 '07 #4

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 ***
Oct 19 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: pmud | last post by:
Hi, I am using teh following code for sorting the data grid but it doesnt work. I have set the auto generate columns to false. & set the sort expression for each field as the anme of that...
4
by: Filippo Pandiani | last post by:
I have a grid that shows the file list from a folder. On the postback, how do I get a Dataset from this grid? Thanks, Filippo.
5
by: sdbranum | last post by:
I have been using Visual C#.NET to code a large project having many data adapters, data sets, datagrids, multiple forms with tab pages, each containing various controls (mostly label, text boxes,...
4
by: Maheshkumar.R | last post by:
Hi groups, How to get a particular selected row ID from a grid view control where i have placed imagebutton. On click event how i can get the ROW ID ? -- Mähésh Kumär. R
10
by: John Wilson | last post by:
My app produces some long datatables to display in a grid. So I put them in a div so users can scroll. But the grid headers scroll out of view. I would like to stop them doing this. Can I fix them...
0
by: Brian Young | last post by:
Hi all. I'm using the Property Grid control in a control to manage a windows service we have developed here. The windows service runs a set of other jobs that need to be managed. The control...
0
by: tony | last post by:
Hello! This is a rather long mail but it's a very interesting one. I hope you read it. I have tried several times to get an answer to this mail but I have not get any answer saying something...
0
by: Gian Paolo | last post by:
this is something really i can't find a reason. I have a form with a tabcontrol with tree pages, in the second page there is a Data GRid View. Plus i have a class. When i open the form i...
0
by: BH | last post by:
Hi, I am trying to build my own IHM with two treeCtrl and 1 grid, based on the wx.aui demos. My problem is with the Grid. It dosen't have scrollbars. I tried many methods (fit) but it always...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.