jQWidgets Forums
Forum Replies Created
-
Author
-
Hi pwenk,
Reinstall the
create-jqwidgets-angular-app
and try again.Best Regards,
IvojQWidgets Team
http://www.jqwidgets.com/December 5, 2017 at 1:15 pm in reply to: Reactjs Jqxgrid has double header on calling databind method Reactjs Jqxgrid has double header on calling databind method #97761Hi mrkhanakia,
Try this:
componentDidUpdate() { //True if props is empty const flag = this.source.localdata.length === 0; this.source.localdata = this.props.entriesList1; this.refs.jqxgrid.updatebounddata('cells'); if(flag) { const headers = document.querySelectorAll('.jqx-grid-column-header'); const lastHeader = headers[headers.length -1]; lastHeader.parentElement.remove(); } }
Best Regards,
IvojQWidgets Team
http://www.jqwidgets.com/Hi srinivas77877,
In the download package as you probably saw, you can find the code of this demo(in jquery). The methods names are the same, so just use the Angular syntax.
Best Regards,
IvojQWidgets Team
http://www.jqwidgets.com/December 5, 2017 at 12:39 pm in reply to: Theme Builder Output Issues Theme Builder Output Issues #97754Hi Gary,
Could you try placing the
custom.css
file in the assets folder and@import
it in thestyles.css
file?Best Regards,
IvojQWidgets Team
http://www.jqwidgets.com/December 4, 2017 at 11:51 am in reply to: How can I put additional info in a tree? How can I put additional info in a tree? #97713Hi, assembler,
Unfortunately, this is not possible.
Best Regards,
IvojQWidgets Team
http://www.jqwidgets.com/Hi seenuvasanV,
Try with the
disable
method of the jqxMenu.Best Regards,
IvojQWidgets Team
http://www.jqwidgets.com/December 4, 2017 at 10:41 am in reply to: Grid: Cannot turn off checkbox selectionmode after it's been turned on Grid: Cannot turn off checkbox selectionmode after it's been turned on #97709Hi jdh,
Thanks for the feedback. We will investigate that.
For now, you can call therender
method after you change theselectionmode
.Best Regards,
IvojQWidgets Team
http://www.jqwidgets.com/December 4, 2017 at 9:33 am in reply to: jqxGrid header disappears in Chrome and FF jqxGrid header disappears in Chrome and FF #97705Hi odklizec,
Thanks for the report. We will look into that!
Best Regards,
IvojQWidgets Team
http://www.jqwidgets.com/Hi pwenk,
I’ve tested the package and it is fine. But I suggest you try, opening the
app.module.ts
file, removing the latest}
and then typing it again.
It’s a common issue. Awaiting your response!Best Regards,
IvojQWidgets Team
http://www.jqwidgets.com/November 30, 2017 at 10:49 am in reply to: Angular: Resources won't show up in Scheduler Angular: Resources won't show up in Scheduler #97646Hi stijnb,
I can’t help you without knowing the data which is coming etc. So please share an example(maybe a zip file), so I can download it, install the packages and run it. Make dummy services so I can test, and remove all the code which isn’t necessary for the issue.
Best Regards,
IvojQWidgets Team
http://www.jqwidgets.com/November 30, 2017 at 10:45 am in reply to: Customization of Features in ToolBar Customization of Features in ToolBar #97645Hi Benny,
You can achieve that using the
pagerrenderer
property of the jqxGrid.Best Regards,
IvojQWidgets Team
http://www.jqwidgets.com/November 30, 2017 at 10:38 am in reply to: create a widget column in angular 4 jqxGrid create a widget column in angular 4 jqxGrid #97641Hi elie,
Thanks for the feedback. We will update the demo soon. Here is the changed code:
columns: any[] = [ { text: 'Picture', datafield: 'firstname', width: 100, createwidget: (row: number, column: any, value: string, htmlElement: HTMLElement): void => { const container = document.createElement('div'); const id = 'myButton' + this.counter; container.id = id; container.style.border = 'none'; htmlElement.appendChild(container); const imgurl = '../images/' + value.toLowerCase() + '.png'; const options = { width: '100%', height: 90, template: 'success', imgSrc: imgurl, imgWidth: 40, imgHeight: 50, value: value, imgPosition: 'center', textPosition: 'center', textImageRelation: 'imageAboveText' }; const myButton = jqwidgets.createInstance('#'+ id, 'jqxButton', options); myButton.addEventHandler('click', function (): void { const currentButtonValue = this.children[1].innerHTML; alert(currentButtonValue); }); this.counter++; }, initwidget: (row: number, column: any, value: any, htmlElement: HTMLElement): void => { const imgurl = '../images/' + value.toLowerCase() + '.png'; (<HTMLImageElement>htmlElement.children[1].children[0]).src = imgurl; htmlElement.children[1].children[1].innerHTML = value; } }, { text: 'Name', datafield: 'name', width: 200 }, { text: 'Title', datafield: 'title', width: 200 }, { text: 'Country', datafield: 'country' } ];
Best Regards,
IvojQWidgets Team
http://www.jqwidgets.com/Hi seenuvasanV,
There is no such event, so you must implement it yourself. For instance, attach a click event to the
jqx-grid-column-header
class.Best Regards,
IvojQWidgets Team
http://www.jqwidgets.com/November 29, 2017 at 8:51 am in reply to: Validator doesn't close the tooltips on click Validator doesn't close the tooltips on click #97614Hi assembler,
This is strange indeed. I can’t reproduce that behavior. Can you test your same code on other OS? And what is the problem with Linux Mint?
Best Regards,
IvojQWidgets Team
http://www.jqwidgets.com/Hi martr,
Try on of these:
Example 1: <jqxPasswordInput [(ngModel)]="newPassword" name="password"></jqxPasswordInput> Example 2: <jqxPasswordInput [(ngModel)]="newPassword" [ngModelOptions]="{standalone: true}"></jqxPasswordInput>
Best Regards,
IvojQWidgets Team
http://www.jqwidgets.com/ -
AuthorPosts