PowerTools SPREAD for ASP.NET 8.0J
GetSortIndicator メソッド (ISheetAxisModel)

行または列のインデックス
指定した行または列のソートインジケータを取得します。
構文
'Declaration
 
Function GetSortIndicator( _
   ByVal index As Integer _
) As SortIndicator
SortIndicator GetSortIndicator( 
   int index
)

パラメータ

index
行または列のインデックス

戻り値の型

この列のソートインジケータの表示を指定するSortIndicator設定
FarPoint.Web.Spread.Model.ISheetAxisModel isa;
isa = (FarPoint.Web.Spread.Model.ISheetAxisModel)FpSpread1.ActiveSheetView.ColumnAxisModel;
isa.SetSortIndicator(0, FarPoint.Web.Spread.Model.SortIndicator.Ascending);
FarPoint.Web.Spread.Model.SortIndicator si = isa.GetSortIndicator(0);
string msg = "The columns sort indicator is " + si.ToString();
Response.Write("<script language='javascript'>alert('" + msg + "')</script>");
Dim isa As FarPoint.Web.Spread.Model.ISheetAxisModel
isa = FpSpread1.ActiveSheetView.ColumnAxisModel
isa.SetSortIndicator(0, FarPoint.Web.Spread.Model.SortIndicator.Ascending)
Dim si As FarPoint.Web.Spread.Model.SortIndicator = isa.GetSortIndicator(0)
Dim msg As String = "The columns sort indicator is " & si.ToString()
Response.Write("<script language='javascript'>alert('" & msg & "')</script>")
参照

ISheetAxisModel インタフェース
ISheetAxisModel メンバ

開発者の手引き

ソート

 

 


© 2003-2015, GrapeCity inc. All rights reserved.