|
-
May 13th, 2003, 03:49 PM
#1
Thread Starter
Fanatic Member
datagrid sort
I am using a datagrid which has allowsorting checked.
The column names are bound columns
Why is it that when hovering over the column names, nothing happens (i.e. there is no link or hand type cursor) and therefore the sorting does not work?
Thanks
-
May 13th, 2003, 10:10 PM
#2
Lively Member
For Hover to come you need to set "sorting expression" i.e in
1] datagrid|property builder
2] select columns from the left hand side pane
3] select ur bound column which u want to sort and set sort expression normally it is the database field
4] you get the hover
5] But still this will not sort your grid, for this u need to check the sorting expression
i.e in datagrid select sortcommand event and check what sort expression you got accordingly rebuild the query and then rebind it.
Hope this solve's ur problem
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|