This is a migrated thread and some comments may be shown as answers.

Grid sorting and tooltip problem

1 Answer 53 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jeff Tang
Top achievements
Rank 1
Jeff Tang asked on 21 Aug 2008, 04:17 AM
I have two problem about grid.

Frist, how to set the default soring order of the grid base on two colums (similar to "ORDER BY column1, column2" in SQL)?

Second, how to set the size of the grid tooltip?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 21 Aug 2008, 06:20 AM
Hi,

1.Try adding the SortExpression as shown below to the set default sort order for the Grid.

ASPX:
<SortExpressions> 
        <telerik:GridSortExpression  FieldName="ProductName" SortOrder="Ascending" /> 
   </SortExpressions> 

2.If you are using normal ToolTip for the Grid it will autosize according to its content.

Shinu.
Tags
Grid
Asked by
Jeff Tang
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or