cancel
Showing results for 
Search instead for 
Did you mean: 

Matrix does not work correctly with ChooseFromList

Former Member
0 Kudos

We have matrix which contains several fields. For example: id; Name; LastName; Field “LastName” we bound with ChooseFromList who linked with some system document and set Alias on Bounded document field (Standard work with ChooseFromList). If We add new Row in matrix new row is added but if we push on chooseFromList icon and select some value, after that all matrix row is deleted. We debugging event chooseFromListAfter and get actual matrix last row. Matrix RowCount in this event is valid. We don`t know in what moment deleting all row and why ?

Accepted Solutions (0)

Answers (1)

Answers (1)

edy_simon
Active Contributor
0 Kudos

Hi,

It's hard to tell without looking at your code,
But my guess is you are setting the choose from list value to the matrix by updating the DataTable/DBDataSource and then do the Matrix.LoadFromDataSource().

If you do, make sure you call the Matrix.FlushToDataSource before updating the CFL value :

- Matrix.FlushToDataSource()
- Update the DataSource with the chosen CFL Value
- Matrix.LoadFromDataSource()

Regards

Edy