PC Review


Reply
Thread Tools Rate Thread

DataGrid.AllowSorting

 
 
Maurizio BELLANTONE
Guest
Posts: n/a
 
      6th Sep 2003
Setting DataGrid.AllowSorting to False always permit sorting of data displayed in the grid by a double click on the column header.
There are other settings to touch ? Is the default behaviour ?
Thank you.

(I use Visual Studio .NET 2003)
--
================================================
BELLANTONE MAURIZIO - IT consultant, free programmer
SPINETTA MARENGO (AL) - ITALY
================================================


 
Reply With Quote
 
 
 
 
Bob Graham
Guest
Posts: n/a
 
      6th Sep 2003
Just tried it in one app, set to false it doesn't matter how many times I
click, no sorting. Set to true one click is all it takes.

Bob


"Maurizio BELLANTONE" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
Setting DataGrid.AllowSorting to False always permit sorting of data
displayed in the grid by a double click on the column header.
There are other settings to touch ? Is the default behaviour ?
Thank you.

(I use Visual Studio .NET 2003)
--
================================================
BELLANTONE MAURIZIO - IT consultant, free programmer
SPINETTA MARENGO (AL) - ITALY
================================================



 
Reply With Quote
 
Maurizio BELLANTONE
Guest
Posts: n/a
 
      6th Sep 2003
I write erroneous: with one click on the column header data displayed in the grid are sorted even if I set AllowSorting to False.
Thank you.


--
================================================
BELLANTONE MAURIZIO - IT consultant, free programmer
SPINETTA MARENGO (AL) - ITALY
================================================

"Bob Graham" <(E-Mail Removed)> ha scritto nel messaggio news:0nm6b.11666$(E-Mail Removed)...
> Just tried it in one app, set to false it doesn't matter how many times I
> click, no sorting. Set to true one click is all it takes.
>
> Bob
>
>


 
Reply With Quote
 
Ken Tucker
Guest
Posts: n/a
 
      6th Sep 2003
Hi,

If you added a table style to your grid set the tables styles
allowsorting instead of the grids.

Ken
-----------------
"Maurizio BELLANTONE" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
Setting DataGrid.AllowSorting to False always permit sorting of data
displayed in the grid by a double click on the column header.
There are other settings to touch ? Is the default behaviour ?
Thank you.

(I use Visual Studio .NET 2003)
--
================================================
BELLANTONE MAURIZIO - IT consultant, free programmer
SPINETTA MARENGO (AL) - ITALY
================================================



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Datagrid AllowSorting property Carl Tribble Microsoft VB .NET 2 9th Oct 2004 08:37 PM
AllowSorting in datagrid Jason Microsoft ADO .NET 3 8th Sep 2004 09:28 PM
DataGrid.AllowSorting and CssClass =?Utf-8?B?a2g=?= Microsoft ASP .NET 3 3rd Aug 2004 12:33 AM
CollectionBase and Winforms DataGrid AllowSorting =?Utf-8?B?TWFyayBQaGlsbGlwcw==?= Microsoft Dot NET Framework 0 3rd Feb 2004 10:51 PM
Export datagrid(with allowsorting) to Excel Cowboy \(Gregory A. Beamer\) Microsoft ASP .NET 6 4th Jul 2003 01:21 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:13 PM.