How I’m able to add a CheckBox to a Record view for each row whit a dataprovider that could change on each row and the dataprovider for the CheckBox is not in the table?
I created a variable and set it as the dataprovider for the CheckBox, this works as long I have one Row. Bud if I have more the one ore I don’t know yet how many, how do I set a different value to the next Checkbox in my List?
You can’t create form objects per row in a listview/tableview. Neither can you add a different dataprovider (in your case a variable) per row to a column.
I understand you want to have a checkbox in the list that is not really connected to a table but is all in memory, correct?
In that case you can use the following trick. Create an unstored calculation on this table you have this form based on with the following code:
return;
That’s it.
This calculation is now an in-memory column and you can write and read data from/to this column so you can use this as your checkbox column in your list.
I created a CheckBox as you recommended whit the unsorted calculation on the table.
On Load I set the calculation Field for each row, this works fine and it shows me everything as I wished.
But if I want to change the value of one CheckBox in the list with the onDataChange event, the event is not fired.
Be aware I’m Working with the framework and I open the list in a application.showFormInDialog window.