Unverified Commit 191c7cbe authored by Pragya's avatar Pragya Committed by GitHub

Updated dataTable API doc to explicitly point sorting (#61356)

parent f9fd71bc
...@@ -370,6 +370,11 @@ class DataCell { ...@@ -370,6 +370,11 @@ class DataCell {
/// ``` /// ```
/// {@end-tool} /// {@end-tool}
/// ///
/// [DataTable] can be sorted on the basis of any column in [columns] in
/// ascending or descending order. If [sortColumnIndex] is non-null, then the
/// table will be sorted by the values in the specified column. The boolean
/// [sortAscending] flag controls the sort order.
///
/// See also: /// See also:
/// ///
/// * [DataColumn], which describes a column in the data table. /// * [DataColumn], which describes a column in the data table.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment