Need a special offer?Find out if your project fits.
+

How to edit the data if datasource is from OLAP Cube?

Answered
Akshay Alva asked on May 12, 2021

Hi Team,
In the documentation for options, i read that "editing:true" can be enabled for CSV and JSON data sources.
"editing – Boolean. Indicates whether the editing feature is enabled (true) or disabled (false) on the drill-through pop-up window for CSV and JSON data sources."
Does this mean that i cannot have edit feature on the cell if my data source is a cube of the OLAP data source? If yes, then what is the other alternative to edit the value?
Thanks in advance.

1 answer

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster May 13, 2021

Akshay,
 
Yes, the native data editing feature is only available for CSV & JSON data sources.
 
However, a while ago, we've created a sample illustrating how the combination of specific HTML & CSS configurations can make the cells editable for OLAP data sources. Just like the JSON saving sample I've mentioned in the parallel thread, this one utilizes AJAX requests to inform the server about the changes made to the data – how the server uses this information is up to you.
 
Feel free to check out the sample here: https://jsfiddle.net/flexmonster/txev6jh3/.
 
Best regards,
Mykhailo.  

Please login or Register to Submit Answer