It is currently 1 October 2020, 3:57 Advanced search

Integration between INDE, Syncfusion and jQuery - a PKMS

Questions and answers on how to best use Instant Developer

Re: Integration between INDE, Syncfusion and jQuery - a PKMS

Postby rjberry » 18 November 2019, 19:44

indejones,
Thanks for the help. Its been 10 days of trying and I need to give up. I have tried everything you said and syncfusions tech support. I cannot get anything to work, it just shows the click button and does nothing. I did try to upload a zip file with the project but its over 2meg so I cant. I dont know why its so big it a very basic program.
Anyway, thanks again.
Rob
rjberry
 
Posts: 19
Joined: 12 November 2013, 13:58

Re: Integration between INDE, Syncfusion and jQuery - a PKMS

Postby rjberry » 19 November 2019, 16:06

Well guess what! I got it working!!!! here is the problem.
In languages like 'C' when you have a string where you need to put a double quote you need to put a slash in front of the double quote so it is ignored as the terminating double quote.
In Inde it appears you don't have to do this, it does it FOR YOU! I obviously didn't know this! so this morning i looked at the debug again and thought it was odd there was an extra \ in front of all my \"
I had seen it before but knowing inde is generally odd with some things thought it was just the way inde does strings.....
so once I removed the \\" from this string:

NewPanel.usa.text = "<button id="click" onclick="dataSampleGauge2()">Click</button><div id="container2" style="display: block;"></div><script id="usa" type="text/x-template"><div id='templateWrap'><img src="https://ej2.syncfusion.com/demos/src/circular-gauge/images/athletics.png" style="height:20px; width:20px;"/><div class='des'><div>${pointers[0].string}%</div></div></div></script>"

A guage appeared when i click the button!!!!
Now to figure out how to pass a value to the guage!
hope its easier.....
Rob
rjberry
 
Posts: 19
Joined: 12 November 2013, 13:58

Previous

Return to Tips & Tricks

Who is online

Users browsing this forum: No registered users and 5 guests

cron