Forum Replies Created
-
Author
-
July 26, 2018 at 2:40 pm in reply to: databind and updatebounddata do not work databind and updatebounddata do not work #101258
Anotehr strange issue. WHen examinig the source it has two sets of datafields and no records. Clearly there are records because I can see them on the page.
[object Object] { [functions]: , __proto__: { [functions]: , __proto__: { } }, _bindingUpdate: [ length: 0 ], _downloadComplete: [ length: 0 ], _options: { [functions]: , __proto__: { }, async: false }, _source: { [functions]: , __proto__: { }, async: false, dataFields: [ 0: { [functions]: , __proto__: { }, name: "MENID", type: "number" }, 1: { [functions]: , __proto__: { }, name: "DESCRIPTION", type: "string" }, length: 2 ], datafields: [ 0: { [functions]: , __proto__: { }, name: "MENID", type: "number" }, 1: { [functions]: , __proto__: { }, name: "DESCRIPTION", type: "string" }, length: 2 ], dataType: "json", datatype: "json", id: "MENID", loadallrecords: true, record: "", recordendindex: 0, recordstartindex: 0, root: "", url: "get_menus.php" }, records: [ length: 0 ] }
July 26, 2018 at 2:16 pm in reply to: databind and updatebounddata do not work databind and updatebounddata do not work #101255The whole code, still does not work
var source = { dataType: "json", dataFields: [ { name: 'MENID' }, { name: 'DESCRIPTION' } ], id: 'MENID', async: false, url: 'get_menus.php', }; var dataAdapter = new $.jqx.dataAdapter(source); $("#treeGrid").jqxTreeGrid( { width: 280, height: 762, source: source, altRows:true, theme:'energyblue', showtoolbar: true, columnsHeight: 20, rendertoolbar: function (toolbar) { var container = $("<div style='margin: 5px;'></div>"); toolbar.append(container); container.append('<input id="adddmenubutton" type="button" value="Add New Menu" />'); $("#adddmenubutton").on('click', function () { PurePopup.prompt({ title: "Enter new menu", buttons: {okButton: 'Ok', cancel: 'Cancel'}, inputs: {menuVal: 'MENU: '}, vals: {menuVal: ''}, }, function(result) { if (result.confirm == 'okButton') { jQuery.ajax({ type: 'POST', url: 'insert_new_menu.php', datatype: 'json', data:{ MNAME:result.menuVal }, success: function(result){ console.log(result); } }); $("#treeGrid").jqxGrid('updateBoundData'); } } ); }); }, columns: [ { text: 'MENU', dataField: 'DESCRIPTION', width: 262}, ] });
July 24, 2018 at 1:45 pm in reply to: Appointment height and other formatting Appointment height and other formatting #101187I did look at that example. What I need is to be able to format the ‘SUBJECT’ of an appointment so that in the MONTHVIEW it will display TOP justified and with embedded CARRIAGE RETURNS.
I tried modifiying the data.html portion but that did not work.
text = "<style='top:2px; position: absolute; text-align:center;'>SPAGHETTI <br> SALAD <br> BREAD</>";
In monthview the appointment always shows verically centered.
July 24, 2018 at 12:17 pm in reply to: Scheduler sample will not run correctly Scheduler sample will not run correctly #101179I copied the code from the “Default Functionality” sample.
July 24, 2018 at 12:15 pm in reply to: Appointment height and other formatting Appointment height and other formatting #101178No where in that example does it do anything with the appointment HTML formatting. Please answer my questionn.
July 23, 2018 at 2:18 pm in reply to: Appointment height and other formatting Appointment height and other formatting #101162BUMP
I think I figured it out.
Actually I don’t need time zone, hence the format of ‘yyyy-MMpdd’. So why does it care then. What is also curious is that I use them same setup in other grid without any issues. So where to I define to the jqxFrid columns that this is a date only and not datetime.
July 2, 2018 at 6:00 pm in reply to: Enableellipsis does not work Enableellipsis does not work #100829So ellipsis does nothing then. It should behave like all other grids, where it pops up a text area for editing. This should be one of the properties for columntype.
Additionally, jsFiddle does not work any more.
I have tried that and not been able to make it work. Even when using the examples from the site.
BUMP
-
AuthorPosts