header
header Register : : Login header
header
divider
menuleft
menuright
submenu
left

[August 25th, 2008] Check the home page regarding PowerShell related news from a brand new sponsor: Idera

Datagrid Column Sort
Last Post 09 Jan 2008 02:00 PM by marco.shaw. 1 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
SAPIENScripterUser is Offline
New Member
New Member
Posts:45

--
09 Jan 2008 04:00 AM  

In my head, I know what direction to go, but whatever bug is plaguing me is making it hard to concentrate and I'm not getting very far in translating C# MSDN examples to PowerShell.  Does anyone have a script sample that creates a datagrid form with column headings that will sort when clicked?

marco.shawUser is Offline
Co-Community Director
Basic Member
Basic Member
Posts:181

--
09 Jan 2008 02:00 PM  
How about:
http://thepowershellguy.com/blogs/posh/archive/2007/01/21/powershell-gui-scripblock-monitor-script.aspx

Note: all the columns are treated as strings. You won't be able to sort numerical values as 1,2,3,4,11,22,etc. That listing of numbers will sort as strings: 1,11,2,22,3,4.
You are not authorized to post a reply.

Active Forums 4.1
right
   
footer Sponsored by Quest Software • SAPIEN Technologies • ShellTools, LLC • Microsoft Windows Server 2008 footer
footer