Skip to Content
author's profile photo Former Member
Former Member

Matrix does not work correctly with ChooseFromList

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 ?

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Feb 20, 2017 at 01:48 AM


    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()



    Add comment
    10|10000 characters needed characters exceeded