jQWidgets Forums
Forum Replies Created
-
Author
-
March 16, 2018 at 1:14 pm in reply to: Window resize width not working Window resize width not working #99265
Gat,
Thank you for your answer. I finally figured that one out, but was not sure if it would cause issues.
Glad that others offer assistance and recognize those minor details.Hope the JQW team will render a solution on the next update.
Thanks again,
EricMarch 15, 2018 at 3:45 pm in reply to: Window resize width not working Window resize width not working #99242Stanislav,
I would expect the window to resize both width and height with one click on the button.
If I code the window to resize it. I would think it should resize with one line of code.
So, I have to call the resize twice to get my results?Is there a way to get the window to resize with one line of code?
Eric
December 1, 2017 at 2:01 pm in reply to: How to Add Padding to Content Area How to Add Padding to Content Area #97674Hello,
Let me share a simple approach with jquery.
Add this line bellow the editor configuration.$(‘#editor’).contents().find(‘iframe’).contents().find(‘body’).css(‘padding’,’5px’);
This should resolve your issue.
Eric
September 25, 2017 at 3:53 pm in reply to: change cell color by renderer change cell color by renderer #96299Stanilav,
Thank you for the quick feedback.
I have seen those examples and they do not render the entire background color of the cell.
I can only assume this can not be done by way of the renderer function.
The first example colors the background of the editor, not the cell when edit is complete.
The second example uses css that are predefined.var colorrenderer = function (row, datafield, value, defaultHTML) {
if(value!=”){
return ??????
}
}
Anyone out there have any suggestions?Peter,
Shared
https://www.jseditor.io/?key=grid-dataadapter-issueI use php to access the database….
So this is method I use.Peter,
We may be viewing this in two different directions.
I am not saying the grid is updating the adapter.Please look a the example again. It is a very basic setup.
Run the example.
Select the view button which will show one record in the adapter.
Select the add button which will add a record to the grid and adapter.
Select the new item added to the grid.
Select the view button again and the adapter now has 2 records.The example should show that the adapter is getting updated.
Now when did the adapter add the new data record?Peter
Thank you for the clarification. I am aware of the relationship between the adapter and the grid.
I thought this part of the code updates the data adapter and the commit applies it to the grid.
localdata: data, addrow: function (rowID, rowData, position, commit) { commit(true,keyid); $('#f1').val(''); $('#f2').val(''); }
(This only happens when the data adapter is empty, works fine if data exists in the adapter)
The issue I am illustrating is that if you have a empty data adapter and add a record.
I am then checking the data adapter for data. (no data)
Example: https://www.jseditor.io/?key=grid-dataadapter-issueWhat am I missing?
Simple enough,
I would have thought the editor could maintain the raw html code pasted into the source view. This is not the case with this editor.
It converts the code to character encoding and strips parts of the html.The editor can only use the editor for coding and displaying of any html entered.
If I wanted to create a simple email document that was html this editor is unable to export the correct html code to complete the email.
Not sure why the editor can not keep the raw code pasted. I had to use the jqxAreaText to accomplish the the email scenario.
That’s to bad the editor can not work in this way, because it is truly an awesome module.
Thanks
EricClarification on one thing.
When pasting html code into the editor should the mode be in the default or should it be in the source view.Thanks again
EricI you open the example and then click the view source the window locks.
Try pasting this into the editor. I am using the Chrome browser if that matters.
<!DOCTYPE HTML> <html> <head> <meta http-equiv="content-type" content="text/html" /> <title>Test</title> </head> <body> <p>Hello World</p> </body> </html>
The editor will freeze
When I pull the val() from the editor it is not the same identical code that I pasted.
<a href="https://www.jseditor.io/?key=jqxeditor-pull-value"></a>
The simplest way to correct is to change the line of code.
current: fields.repeatContainer.hide();
to: fields.repeatContainer.remove();This works better.
August 19, 2016 at 9:03 pm in reply to: editDialogOpen – fill input fields editDialogOpen – fill input fields #86712Please check source if this line actually works?
If it does please give me an example.$(‘#scheduler’).jqxScheduler(‘setAppointmentProperty’, appointment.id, ‘id’, new key value);
Do you have another way of setting the appointment id? Other than changing the jqxdataadapter.
Any help would be appreciated.
Thanks,
EricAugust 19, 2016 at 3:20 pm in reply to: editDialogOpen – fill input fields editDialogOpen – fill input fields #86705The sample is now shared with everyone.
Eric King
August 19, 2016 at 9:55 am in reply to: editDialogOpen – fill input fields editDialogOpen – fill input fields #86693Thank you Hriso for the response.
I tried the *case(add new appointment) method.$(‘#scheduler’).jqxScheduler(‘setAppointmentProperty’, appointment.id, ‘id’, new key value);
I have added a sample to the js editor. Please add a new appointment and move your mouse over the new appointment.
https://www.jseditor.io/?key=jqxscheduler-change-appointment-id
-
AuthorPosts