TableResultWidget always show number of elements

9 views
Skip to first unread message

neteducation

unread,
Nov 3, 2017, 10:13:29 AM11/3/17
to Information Workbench Discussions
Hi all,

If in a table result widget I have more rows than the table has, i get the paging mechanism showing i.e. 1 - 15 / 20. The total count of this is sometimes very usefull. Unluckily when the paging is not needed (i.e. because you specify to show 100 rows) then also the total count is not shown anymore. It would sometimes be very usefull to still see the total amount, especially when also using filters so that you can say there are that and that many with this filter.

Is there any way to show the total count regardless if paging is needed or not ?

Regards
Frank

Andreas Schwarte

unread,
Nov 3, 2017, 10:31:06 AM11/3/17
to iwb-dis...@googlegroups.com

Hi Frank,

 

as of the 8.1 release you have the option to always show the pagination control. This can be configured in the widget configuration of the table under “Appearance” (note: requires advanced mode to be active).

 

Example:

 

{{#widget: TableResult |

 query = 'SELECT * WHERE {

?s ?p ?o

} LIMIT 100'

| numberOfDisplayedRows = 150

| appearance =

   {{ enforceShowTableControl = true

   }}

}}

 

Hope this helps.

 

Best,

Andreas

--
You received this message because you are subscribed to the Google Groups "Information Workbench Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iwb-discussio...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages