jQWidgets Forums
Forum Replies Created
-
Author
-
August 18, 2016 at 5:23 pm in reply to: editDialogOpen – fill input fields editDialogOpen – fill input fields #86673
The problem is in another area of code.
The scheduler data is from a php mysql. In the process of updating the data to the database the following causes the error.
set the appointment ID$(“#scheduler”).on(‘appointmentAdd’, function (event) {
var args = event.args;
var appointment = args.appointment;
…..
$.ajax({
…..
success: function (data, status, xhr) {
$(‘#scheduler’).jqxScheduler(‘setAppointmentProperty’, appointment.id, ‘id’, ‘d’+data[0].activityid);
)});
});Can I set the appointment id this way? If I do not set the id and let the scheduler set it then it works correctly.
I need to be able to set the id.Eric
June 21, 2016 at 10:12 am in reply to: filter grid adding duplicate rows filter grid adding duplicate rows #85317Peter,
If you could, I have setup a test web page to show the duplication.I need you to enter a ‘d’ in the employee filter and then select the add button. It will show duplicate rows.
You can view the page source to verify the coding. This is only a testing area and will be removed later.How do I send you a link, I prefer not to add it to my post.
Thanks,
EricMay 27, 2016 at 11:44 am in reply to: loading another page on main page loading another page on main page #84700Question answered.
Simply overlooked…
When loading jqxWidget page into an existing jqxWidget page be sure to remove any duplicate links to widgets.That’s it.
ThanksFebruary 17, 2016 at 11:42 am in reply to: validation event from PHP validation event from PHP #81511Thanks for the suggestion.
This example returns html code back to login.
How can I capture the returning data (echo) to further check that it was success or fail?
I would like to return a true or false from the login.php
December 11, 2015 at 11:47 pm in reply to: Check all items in checkbox column Check all items in checkbox column #79229Dimitar,
Thank u for the answer. The only problem is that when the grid is in checkbox mode it will not navigate with the keyboard.
You can test this with you demo above.Was there a different different demo that showed how to select all check boxes from the column header?
Thanks
EricDecember 7, 2015 at 6:43 pm in reply to: Check all items in checkbox column Check all items in checkbox column #79027Hello All,
Would like to use the selectmode: checkbox but it does not allow cell editing.
I like the feature of selecting all checkboxes with the column header box.Does the selectmode offer multiple options?
Wanted to look at the Custom Rows Selection but the link go nowhere. Do you have a demo where cell editing is available and option for checkbox column
where all rows can be checked like the checkbox mode?
Could you pleaseNovember 14, 2015 at 10:11 am in reply to: Updating dataadaptor using php Updating dataadaptor using php #78142Hello Peter,
Thanks for the info.
The example binding to json does not show a legend, when the showLedgend is set to true.
Is this an issue still working on?Thanks,
EricNovember 14, 2015 at 9:00 am in reply to: Updating dataadaptor using php Updating dataadaptor using php #78141Please disregard this entry.
Hristo, I think this will work.
ThanksPeter,
Let me make sure of clarity. Your stating that I should create my own widget on the dialog window or create my own dialog window with my custom widgets.Thanks for the quick feed back. I considered creating a new widget.
If I create my own widget, how do I keep the dialog from opening.Peter,
Thank you for the quick response.
The only problem is that I use the jqxInput source features, which the jqxEditor does not.
If I use the disable option on the jqxInput, can I change the way it appears?
and if so what would be the class code.
EricKJune 27, 2014 at 10:08 am in reply to: Calendar re-sizing in navigationbar Calendar re-sizing in navigationbar #56494Dimitar,
Thank you for your response.
I wanted to let you know that the problem was in the html of the navigation bar section.
Not sure why…..
Had this:<div id='navigationbar'> <div><h4 style ="margin-top:2px; margin-bottom:2px;">Sales Calendar</h4></div> <div id="calendar"></div> <*************** <div><label id="act">Activity</label><input type="button" style="margin-left:20px" id="Add" value="Add" /></div> <div id="events"></div> </div>
Changed it to:
<div id='navigationbar'> <div><h4 style ="margin-top:2px; margin-bottom:2px;">Sales Calendar</h4></div> <div><div id="calendar"></div></div> <div><label id="act">Activity</label><input type="button" style="margin-left:20px" id="Add" value="Add" /></div> <div id="events"></div> </div>
This works correctly, but not sure why I had to add an extra <div> for the calendar.
By the way, if I add an extra <div> for the event. Then event table does not show.Thanks,
EricJune 27, 2014 at 1:27 am in reply to: Calendar re-sizing in navigationbar Calendar re-sizing in navigationbar #56468Additional comments.
I have discovered the size of the calendar is slightly higher, which produces a scroll bar in the content area.How does the navigation bar handle content area as far as sizing. I assumed if you created the navigation bar with a specific height and filled the content area with a widget that is smaller the content area would not re-size.
So, apparently the navigation bar will re-size…….based on the size of the content.Sorry this is so confusing…
Hey Peter,
Hopefully this will finish this post.Here is my code. I would like to make the formatdata dynamic.
var lsql = 'company'; var csource = function (query, response) { var dataAdapter = new $.jqx.dataAdapter ( { datatype: "json", datafields: [ { name: 'name'}, { name: 'id'} ], id: 'id', url: 'listdata.php' }, { autoBind: true, formatData: function (data) { data[lsql] = query; ***** dynamic with varible return data; }, loadComplete: function (data) { if (data.length>0){ response($.map(data, function (item) { return { label: item.name, value: item.id } })); } } } ) }; $("#company").jqxInput({ source: csource, width: 200, height: 22 }); $("#location").jqxInput({ source: csource, width: 200, height: 22});
I don’t think I am working the logic correctly. Can I pass a parameter to the csource when I setup the source:
Or do I need to approach this in another method.Thanks so much for help.
-
AuthorPosts