From 0aa0743ed0b8c89f34f9fb89d782ed51864e6d8c Mon Sep 17 00:00:00 2001 From: Matthieu Dubuget Date: Sat, 25 Nov 2017 11:23:36 +0100 Subject: [PATCH] Ajout de commandes pour montrer/cacher colonnes --- googleApps.mli | 8 ++++++++ ocaml-google-apps.opam | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/googleApps.mli b/googleApps.mli index a431674..c044cee 100644 --- a/googleApps.mli +++ b/googleApps.mli @@ -169,6 +169,14 @@ sig (* Shows the row at the given index. *) val show_row: t -> index:int -> unit [@@js.call "showRows"] + (* Hides the column at the given index. *) + val hide_column: t -> index:int -> unit [@@js.call "hideColumns"] + + (* Show the colummn at the given index. *) + val show_column: t -> index:int -> unit [@@js.call "showColumns"] + + val show_columns: t -> from:int -> num:int -> unit [@@js.call "showColumns"] + type ui type menu val get_ui: unit -> ui [@@js.global "SpreadsheetApp.getUi"] diff --git a/ocaml-google-apps.opam b/ocaml-google-apps.opam index 6a83a8b..18e00e6 100644 --- a/ocaml-google-apps.opam +++ b/ocaml-google-apps.opam @@ -1,6 +1,6 @@ opam-version: "2.0" name: "ocaml-google-apps" -version: "0.1" +version: "0.2" synopsis: "OCaml binding to Google Apps" description: """ Binding to Google Apps using gen_js_api (https://github.com/LexiFi/gen_js_api):