|
|
|
Сортировка JXL
|
|||
|---|---|---|---|
|
#18+
Вопрос такой. Есть ли возможность сортировки отдельно взятого столбца средствами JXL? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 01.08.2012, 15:31:17 |
|
||
|
Сортировка JXL
|
|||
|---|---|---|---|
|
#18+
gaval, Есть возможность сортировки записей по столбцу- http://www.teamdev.com/downloads/jexcel/docs/JExcel-PGuide.html#AEN527 ... 7.4. Sorting a Range JExcel provides functionality for sorting rows or columns in a range of cells. For this purpose, use the Range.sort() method. It takes a column name (for example, "A", "D", "AB") for sorting rows by the values of the specified column and a row number (for example, 1, 4, 100) for sorting columns by the values of the specified row. For sorting values in the ascending order, set the ascending argument to true (or false if otherwise). If the caseSensitive argument is true, case-sensitive sorting will be done. The following sample demonstrates the technique of sorting ranges: //Getting a necessary range Range range = worksheet.getRange("A1:D5"); //Sorting the range by column "A", in the ascending order, case-sensitive range.sort("A", true, true); //Sorting the range by the third row, in the descending order, case-sensitive range.sort(3, false, true); For the complete sample, please refer to the following file: ... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 02.08.2012, 00:08:46 |
|
||
|
|

start [/forum/topic.php?fid=59&gotonew=1&tid=2131225]: |
0ms |
get settings: |
5ms |
get forum list: |
22ms |
check forum access: |
6ms |
check topic access: |
6ms |
track hit: |
58ms |
get topic data: |
21ms |
get first new msg: |
14ms |
get forum data: |
6ms |
get page messages: |
77ms |
get tp. blocked users: |
3ms |
| others: | 307ms |
| total: | 525ms |

| 0 / 0 |
