From 93d0c8cbbecc9c9c4dba908d6d72886c9938a844 Mon Sep 17 00:00:00 2001 From: Aleksandr Elkin Date: Mon, 26 Oct 2020 10:55:46 +0100 Subject: [PATCH] NAV-423. Support to enable links in table by column config. --- .../xhtml/components/table/formatting.xhtml | 38 +++++++++++++++---- .../ts.ui.TableSpirit.spec.js | 22 +++++++++++ .../edbml/functions/ts.ui.tablerows.edbml | 6 ++- .../models/cols/ts.ui.TableColModel.js | 8 +++- 4 files changed, 64 insertions(+), 10 deletions(-) diff --git a/docs/src/xhtml/components/table/formatting.xhtml b/docs/src/xhtml/components/table/formatting.xhtml index f39b451cf..c476deba8 100644 --- a/docs/src/xhtml/components/table/formatting.xhtml +++ b/docs/src/xhtml/components/table/formatting.xhtml @@ -82,6 +82,30 @@ http(s):// and note that links should not be used for internal navigation, at least not just yet.

+

+ If you need to support links only in specific column, you can set the + linkable property to true in a column's config: +

+

If the link should work more like a button, you can intecept the click action with the onlink callback. In this case, you can use any string as the @@ -92,7 +116,7 @@