We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

some questions about datagrid

Thread ID:

Created:

Updated:

Platform:

Replies:

4868 Jun 5,2003 08:46 AM Jun 9,2003 09:04 AM Windows Forms 3
loading
Tags: FAQ
paola
Asked On June 5, 2003 08:46 AM

I've some questions about windows datagrid control. 1.Can I format numerical data in column? 2.Can I prevent sort of only some columns? 3.Can I prevent the resize of only some columns? 4.Can I retrieve if data change and in what cell? 5.Can I change the cursor for only some columns? Thanks a lot Paola Vincenzi

Sameer
Replied On June 5, 2003 01:50 PM

YES > I've some questions about windows datagrid control. > > 1.Can I format numerical data in column? > 2.Can I prevent sort of only some columns? > 3.Can I prevent the resize of only some columns? > 4.Can I retrieve if data change and in what cell? > 5.Can I change the cursor for only some columns? > > Thanks a lot > > Paola Vincenzi >

paola
Replied On June 6, 2003 03:42 AM

Thanks for your reply.... but How can I do these things?? sorry for my bad english..... Paola > YES > > > I've some questions about windows datagrid control. > > > > 1.Can I format numerical data in column? > > 2.Can I prevent sort of only some columns? > > 3.Can I prevent the resize of only some columns? > > 4.Can I retrieve if data change and in what cell? > > 5.Can I change the cursor for only some columns? > > > > Thanks a lot > > > > Paola Vincenzi > > >

mike
Replied On June 9, 2003 09:04 AM

To create new columnstyles, 1. Create a new class 2. Inherit from the DataGridTextBoxColumn. 3. Format it as you wish. 'short example Public Class DataGridDateColumnStyle Inherits DataGridTextBoxColumn Public Sub New() MyBase.Format = "d" End Sub End Class 'DataGridDateColumnStyle > Thanks for your reply.... but How can I do these things?? > > sorry for my bad english..... > > Paola > > > > YES > > > > > I've some questions about windows datagrid control. > > > > > > 1.Can I format numerical data in column? > > > 2.Can I prevent sort of only some columns? > > > 3.Can I prevent the resize of only some columns? > > > 4.Can I retrieve if data change and in what cell? > > > 5.Can I change the cursor for only some columns? > > > > > > Thanks a lot > > > > > > Paola Vincenzi > > > > > >

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;