setColSticky method

Future<void> setColSticky(
  1. int col,
  2. StickyEdge edge
)

Set sticky edge for a column.

Implementation

Future<void> setColSticky(int col, StickyEdge edge) async {
  await VolvoxGridService.DefineColumns(DefineColumnsRequest()
    ..gridId = _gridId
    ..columns.add(ColumnDef()
      ..index = col
      ..sticky = edge));
  notifyListeners();
}