Hello,
when using igGrid in a Windows Store App, the Move Columns Dialog ("Feature Chooser > Move To > Move Columns") crashes with an exception because of a violation adding dynamic content. The other dialog windows work.
Best regards,
Joern
Hello Joern,
Thank you for your patience!
Currently there is no WinJS support, in other words there wont be any service releases that will contain any fix regarding this issue. According our developers there is some jQuery problem with the jQuery append method. This is a possible workaround for this issue (see the link below):
http://stackoverflow.com/questions/13139418/jquery-append-type-input-and-windows-store-app-html-css-js
Wrap the part that is throwing the exception with MSApp.execUnsafeLocalFunction.
If there is something else that I could help you with, contact me.
I do not understand... Surface device support is advertised by Infragistics.
Here is the text from the Infragistics store:
"Create modern, responsive desktop browser-based apps & mobile apps With MVC or HTML 5, CSS3 and JavaScript to deliver line ot business Solutions that look, teel and behave just like device-native apps, without learning multiple languages or trameworks From the iPad to Phone, Android, Windows Phone and the Surface tablet, Ignite Ul bridges the path to multi-device development. And the apps you build can be published to the App stores."
As you can see, the Surface is mentioned along with iPad, etc. and it does say that the apps can be published to the App stores.
The only reason I bought Ignite UI and not another framework was the Surface (WinJS / WinRT) support. If you look into the source code of the igGrid you will see that WinJS support is implemented. There is special WinJS code and calls to MSApp.execUnsafeLocalFunction. Why is it there?
I do not understand why you write that WinJS is not supported when it is advertised and it is (partially?) implemented?
Your workaround is not usable because that would mean that I have to patch all of the Ignite UI source code.
Hello Nikolay,
you wrote ""If you want to use IGnite UI controls inside WinJS app, without the Windows UI packet... you should use PhoneGap" - this what I wanted to say, sorry for the grammar error in the sentence. It's recommended for your case to use PhoneGap for Windows 8 and together with the jQuery, version 2 and above, all the controls should work."
Ok, that's what I did:
- I downloaded the demo from:
http://ko.infragistics.com/community/blogs/mihail_mateev/archive/2013/01/07/using-phonegap-in-windows-8-store-applications.aspx
(Like you, this blog post says that I can use Ignite UI in a Windows 8 Store App with PhoneGap.)
Since the author says that I can use Ignite UI but he does not do so in his demo, I added jQuery 2.0.3, jQuery UI and Ignite UI to the demo app. I also added the code from two Ignite UI demos: The Feature Chooser demo and a Column Bar Diagram demo.
Unfortunately, it does not work:
1. The Feature Chooser Icon is missing from the Header.
2. If you click on the Header, the Feature Chooser is displayed (the graphics are messed up, but let's ignore this for a moment) - Go to the Move Columns Dialog - and it crashes as described in this forum topic.
3. Click on "Show chart" and it crashes again with a "Cannot add dynamic content message..."
Maybe I did something wrong. I am attaching my sample. Can you look into it... fix it... let me know...
Thanks!
Hi, Joern.
I've looked this sample in details and it seems everything you are doing is right. It's expecting that if you have IGnite UI + cordova.js + jQuery 2, the WinJS application should work. And it does in most of the cases, except in such cases like this. This problem is something specific, either in the igTree or something with JQuery or WinJS. We will take care to fix the bug that my colleague have already logged: 162878. You will be notified about the progress.
Thanks again for the patience and for using our product.
Nikolay Alipiev
the development issue 162878 is connected with the "Move columns dialog crashing" support case.
It does not say anything about the data chart crashing as well - which I showed in my last sample.
Can you add another support case and / or development issue regarding this and the problem with Windows Store Apps + Cordova not working in general?
In general, Infragistics controls are supposed to work, when used with Cordova. When issue like this appears, we are fixing not only that problem, but problems with similar manner and we are doing them for all the controls. We can keep you updated, about the general progress, using that thread, but if you feel more comfortable we can create different case. In both cases, we are taking in account not only that specific issue.
when will this be fixed?
You released Version 14.1 but the development issue is still "In progress" and almost two month old.
The problem with the exception inside the grid is fixed. Now you can download the latest service release from here, and apply the fix. If you still have problems in other parts of our code, please write us and we will try to resolve them.
Thank you very much for the patience and for using our product.
Nikolay
We were not able to fully resolve this issue for this Service Release and it is planned for the next one. The escalation status is also changed for the next release. Thanks again for the patience.