some questions about datagrid

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

3 Replies

SA Sameer June 5, 2003 05:50 PM UTC

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 >


PA paola June 6, 2003 07:42 AM UTC

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


MI mike June 9, 2003 01:04 PM UTC

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

Loader.
Up arrow icon