jQWidgets Forums
Forum Replies Created
-
Author
-
Problem is fixed in 4.5.0
Thank you. I didn’t know that I can give an array to addRow.
Loading the data before initialization of the table isn’t possible in my case, because I initialize an empty table. And after userinteraction I get the items from server.I copied the part of the code
In the http://www.jqwidgets.com/angular2/jqwidgets-ts/angular_jqxdatetimeinput.ts (129) there is written:setTimeout(() => { options.value !== undefined ? this.host.jqxDateTimeInput('val', options.value) : this.host.jqxDateTimeInput('val', new Date()); , 1);
In the http://www.jqwidgets.com/angular2/jqwidgets-ts/angular_jqxdatetimeinput.ts!transpiled (100) there is written:
setTimeout(function () { options.value !== undefined ? _this.host.jqxDateTimeInput('val', options.value) : _this.host.jqxDateTimeInput('val', new Date()); }, 1);
The Problem is the curly brace before the “, 1”. Either the code is not transpiled from the ts or the tool ist so smart to repair such mistakes by its own.
I tried your link and the files it uses.
The Demo works and the file http://www.jqwidgets.com/angular2/jqwidgets-ts/angular_jqxdatetimeinput.ts!transpiled looks right. But the http://www.jqwidgets.com/angular2/jqwidgets-ts/angular_jqxdatetimeinput.ts seems to be incorrect. The curly brace from the setTimeout() isn’t closed. It doesn’t seem like the …ts!transpiled is transpiled from the ts, because in the …ts!transpiled the curly brace is closed.I created an example on JSFiddle, that shows the problem. There it only takes 30 seconds, but you can see, that time is rising.
September 23, 2016 at 10:50 am in reply to: Missing function in TreeGrid.addRow Missing function in TreeGrid.addRow #87655I found a workaround by myself. I can use the host property to call the old function as long as the angular component does not provide the functionality
September 22, 2016 at 11:21 am in reply to: Missing function in TreeGrid.addRow Missing function in TreeGrid.addRow #87623Would it be possible to get a preview version or to change some lines by myself, or when will the download be available?
I would like to proceed developing my webapp, but would prefer not to switch back to the version without angular. I already tried to get the host an then invoke the function at the host. but this also didn’t work. Is there any possibility to work with both version?I posted here, because I’m not sure if this is an Angular2 related problem, or if this also occurs without angular2.
Yes, this works for me.
The fifth parameter in addRow is missing in the documentation. Maybe you could an it.August 24, 2016 at 12:54 pm in reply to: Missing Scollbar in TreeGrid Missing Scollbar in TreeGrid #86808I set height to 100%. After positioning the containing div absolute I got the scrollbar.
August 24, 2016 at 12:52 pm in reply to: Resize Columns without header Resize Columns without header #86807I thought it would be possible to resize by dragging the line between the columns.
So I will leave it as it is.
Thanks for your help. -
AuthorPosts