Package com.grapecity.documents.excel
Interface IValueSortField
- All Superinterfaces:
ISortField
- All Known Implementing Classes:
ValueSortField
表示按单元格值(升序或降序或自定义值列表)排序的字段。
-
Method Summary
Modifier and TypeMethodDescription获取自定义值列表,例如:3,2,5,1。获取排序字段的数据选项。getOrder()获取排序顺序。voidsetCustomValues(String value) 设置自定义值列表,例如:3,2,5,1。voidsetDataOption(SortDataOption value) 设置排序字段的数据选项。void设置排序顺序。Methods inherited from interface com.grapecity.documents.excel.ISortField
getKey, getPriority, getSortOn, setPriority
-
Method Details
-
getDataOption
SortDataOption getDataOption()获取排序字段的数据选项。 -
setDataOption
设置排序字段的数据选项。 -
getOrder
SortOrder getOrder()获取排序顺序。 -
setOrder
设置排序顺序。 -
getCustomValues
String getCustomValues()获取自定义值列表,例如:3,2,5,1。如果属性不是空字符串,则按自定义值排序。
-
setCustomValues
设置自定义值列表,例如:3,2,5,1。
-