Does XamDataGrid support adding a new field into the grid at runtime? Our users would like to add a new field and specify a formula for this field that depends on values in 2 other fields already in the grid.
Does the grid support something of this sort ?
Thanks,
Vikrant
Hello Vikrant,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
If the above suggestion helped you solve your issue please verify the thread as answered so other users may take better advantage of it.
Hi Vikrant,
There is no build in functionality that allows the user to add fields at runtime, however you can implement your own logic in the application that adds UnboundFields to the Fields collection of the grid. For the calculation part you can use the XamDataGrid support for XamCalculationManager which was released as CTP in 11.2. You have to add a XamFormulaEditor in your application which Target is the UnboundField and the user will be able to specify a formula for that field. Hope this helps!
Diyan Dimitrov