Save selected data from a table widget

1
0
-1

Hi there,

I've inserted data of a List<List> in a table widget which allows selection.

Once lines are selected, I'm trying to save them in a List<> to get them in the next form.

I'm doing : output operation : aList takes value of field_table. The problem is that it only save the first column's selected datas as a List.

Can someone help me to retrieve the selected lines in a variable ?

Thanks for any help. Paul

Comments

Submitted by florian.baillagou on Thu, 09/11/2014 - 17:21

If I understand, you're trying to assign a List which is your selected lines to a List<>.

aList can't be defined as List ?

Submitted by paul33 on Thu, 09/11/2014 - 17:26

I'm trying to save the selected lines in a List. And yes aList is a List.

Sorry if i'm not clear (i'm not completly comfortable with my english) and thanks for the help

2 answers

1
+2
-1
This one is the BEST answer!

I found it ! i keep the list of the table widget in the tab of the second form and i use "list of selected values" : the list I saved as output in the first form, "from column with index" : 0

Comments

Submitted by amine250 on Wed, 04/29/2015 - 11:25

Could you please be more explicit??

1
0
-1

@paul33 what do u mean by tab ??

Notifications