Search found 8 matches

by Fabrizio
Thu May 02, 2019 5:44 pm
Forum: Components
Topic: ListView data-selectable examples
Replies: 4
Views: 752

Re: ListView data-selectable examples

It works! Thank you! You are very kind
by Fabrizio
Thu May 02, 2019 4:32 pm
Forum: Components
Topic: ListView - Multiple selection
Replies: 2
Views: 707

Re: ListView - Multiple selection

Thank you!
by Fabrizio
Thu May 02, 2019 4:30 pm
Forum: Components
Topic: ListView data-selectable examples
Replies: 4
Views: 752

Re: ListView data-selectable examples

How can i use getSelected() on the following <button> tag?

<button class="button" onclick="
var lv = $('#lv_1');
lv.data('listview').del(????))
">Delete item</button>
by Fabrizio
Thu May 02, 2019 4:12 pm
Forum: Components
Topic: ListView data-selectable examples
Replies: 4
Views: 752

ListView data-selectable examples

Hi, Could someone show me how to manage items using selectable options? How can i retrieve all the items selected using javascript? For example: how can i DELETE ALL the selected items? This routine delete only last selected item: <button class="button" onclick=" var lv = $('#lv_1'); lv.data('listvi...
by Fabrizio
Tue Apr 30, 2019 4:17 pm
Forum: Components
Topic: ListView - Multiple selection
Replies: 2
Views: 707

ListView - Multiple selection

Hi all,

How can i remove multiple selected items using a button? Would it be possible to have an example?

THX
by Fabrizio
Mon Apr 15, 2019 12:19 pm
Forum: Components
Topic: Table Inspector after loadData
Replies: 6
Views: 429

Re: Table Inspector after loadData

Many thank's
by Fabrizio
Mon Apr 15, 2019 11:44 am
Forum: Components
Topic: Table Inspector after loadData
Replies: 6
Views: 429

Re: Table Inspector after loadData

Thanks for the quick reply ... but it still doesn't work.

My code:

var dataSource = Metro.session.getItemPart('app', 'doc', '') + 'archive_' + Metro.storage.getItem('idut', '') + '.json';
var table = $("#tabellaARCHIVIO").data("table");

table.loadData(dataSource, true);
table.resetView();
by Fabrizio
Mon Apr 15, 2019 11:07 am
Forum: Components
Topic: Table Inspector after loadData
Replies: 6
Views: 429

Table Inspector after loadData

Hi,
After loading JSON data on TABLE, the TABLE INSPECTOR component does not contain anything until I press the RESET button...How can i refresh the Inspector panel?

Thx