on 02-16-2017 2:05 PM - last edited on 02-04-2024 6:40 AM by postmig_api_4
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 ?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.