Hello,
Can you help me with this?
1. TypeScript compiler (1.1 - 1.4) can not process infragistics.d.ts because of incorrect overlapping parenting methods.2. In infragistics.d.ts doesn't defined namespase "$.ig"3. I have a very big dataset and js-object that already contains aggregated olap data, and i want load it in PivotGrid, without any calculations from component. Can i do this without creating dataset? Just define record count, unique values of dimensions, and load aggregated data in cells metadata.4. Can i extends or override FlatOlapDataSource or create new ProxyOlapDataSource, to solve this problem? which will be contain list of methods thats required to PivotGrid to display data.
Possibly attached file will help to understand the idea.
Thank you
Regardsmadreason
Hello Madreason,
For the first two issues could you download the service release that went out Friday, build 14.2.2140? There were a few issues with the TypeScript definition file that were fixed in this service release.
For the other two items I'm currently looking in to this to see what is possible and will update you again by the end of the business day tomorrow.
After further research it looks like using the data source in the way that you want to do would be considered a new product idea. At this time if you want to use the pivot control you'll want to have the data source handle the calculations and work with the data. As far as extending the provided data sources this isn't something that would be trivial and would go beyond the realms of Infragistics Support. At this time the recommended approach would be to use the existing igOlapXmlaDataSource and submit a new product idea on the Infragistics Product Idea Website.
By submitting the product idea you will be communicating directly with our Product Management team. The Product Management team will be able to ask you clarifying questions if needed and update you on the feasibility and plans around your feature. In addition, other customers will be able to vote on your idea if it is important to them as well.
Please let me know if you have any further questions or concerns about this matter.
Thanks for the reply.
1. Fixed in 14.2.2140.
2. I still can not correctly create DataSource in TS, because of in construction "new $.ig.DataSource()" namespase "$.ig" doesn't defined. Typings in infragistics.d.ts allow me create DataSource like this "new Infragistics.DataSource()", but object "Infragistics" doesn't exist.
Do you plan to implement native JS library without conversion from C#?
From what I see in your code you managed to make it work by explicit casting the $ variable like this "(<any>$)".
An alternative approach is to add an "Infragistics" alias to the "$.ig" in your code, before you create the data source with the "new Infragistics.DataSource()" syntax. This is explicitly explained in the following blog post: "Introducing TypeScript support for Ignite UI".
Here is an example code:
Infragistics = $.ig;
var ds = new Infragistics.DataSource({});
We're currently looking at whether we can resolve this issue in the product and will keep you posted.
Hope this helps,Martin PavlovInfragistics, Inc.
Hello madreason,
I have created a support case for you with an ID of CAS-148556-N6W3P9. The matter has been determined to be a development issue and has been logged in our tracking system with ID: 186797.
I will leave this case open and update you with any new information. You can view the status of the development issue connected to this case by going to the “Account” tab on our website, selecting "My Support Activity" and then this support case will be listed there. Then, you may select the "Development Issues" tab to view details of this development issue.
Please let me know if you have any questions.