Skip to Content
0

Matrix does not work correctly with ChooseFromList

Feb 16, 2017 at 02:05 PM

123

avatar image

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 ?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Edy Simon Feb 20, 2017 at 01:48 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded