jQWidgets Forums
Forum Replies Created
-
Author
-
May 3, 2019 at 8:11 pm in reply to: Javascript error after calling updatebounddata and loadstate Javascript error after calling updatebounddata and loadstate #105037
This looks like the same issue I reported here: https://www.jqwidgets.com/community/topic/javascript-exception-thrown-in-_prerenderrows/
April 19, 2019 at 4:54 pm in reply to: JavaScript exception thrown in _prerenderrows JavaScript exception thrown in _prerenderrows #104860I have also noticed that at your last line: $(“#requisitionGrid”).jqxGrid({ source: RequisitionDataAdapter }); you have different id and data adapter name from above
Yeah, I snatched that from the wrong chunk of code. There are two grids active in the page.
$(‘#jqxgrid’).jqxGrid(‘updatebounddata’);
I think I tried this method as I was figuring out the grid control and found that resetting the source property actually forced a call back to the server, whereas the method didn’t. Of course, I am probably misremembering and tried another method.
April 18, 2019 at 11:28 am in reply to: JavaScript exception thrown in _prerenderrows JavaScript exception thrown in _prerenderrows #104838Is it relevant that this is the second grid in the form? This grid is part of an edit window popped up from the master grid in the form.
April 18, 2019 at 11:25 am in reply to: JavaScript exception thrown in _prerenderrows JavaScript exception thrown in _prerenderrows #104837var requisitionGridColumnArray = [
{ text: ‘Date’, datafield: ‘Date’, filtertype: ‘textbox’, filtercondition: ‘contains’, cellsformat: ‘MM/dd/yyyy’, width: 100 },
{ text: ‘Doc Number’, datafield: ‘DocumentNumber’, filtertype: ‘textbox’, filtercondition: ‘contains’, width: 150 },
{ text: ‘Deliver To’, datafield: ‘DeliverTo’, filtertype: ‘textbox’, filtercondition: ‘contains’ },
{ text: ‘Type’, datafield: ‘ActionType’, filtertype: ‘textbox’, filtercondition: ‘contains’ },
{ text: ‘Status’, datafield: ‘Status’, filtertype: ‘textbox’, filtercondition: ‘contains’, width: 120 },
{ text: ”, datafield: ‘Cancel’, columntype: ‘button’, width: 60, cellsrenderer: function () { return “Cancel”; }, buttonclick: function (row) { CancelReq(row); } },
{ text: ”, datafield: ‘Edit’, columntype: ‘button’, width: 60, cellsrenderer: function () { return “Edit”; }, buttonclick: function (row) { LoadEditWindow(row); } }
];var RequisitionDetailDataSource = {
datatype: “json”,
datafields: [
{ name: ‘Id’, type: ‘int’ },
{ name: ‘RequisitionId’, type:’int’ },
{ name: ‘MasterDataId’, type: ‘int’ },
{ name: ‘RequestedQuantity’, type: ‘int’ },
{ name: ‘UnitPrice’, type: ‘float’ },
{ name: ‘Issued’, type: ‘int’ },
{ name: ‘Cancelled’, type: ‘int’ },
{ name: ‘StatusId’, type: ‘int’ },
{ name: ‘ItemDescription’, type: ‘string’ },
{ name: ‘StockNumber’, type: ‘string’ },
{ name: ‘Status’, type: ‘string’ }
],
url: ‘@Url.Action(“<Action>”, “<Controller>”)’,
type: ‘POST’
};
var RequisitionDetailDataAdapter = new $.jqx.dataAdapter(RequisitionDetailDataSource, { async: false, processData: function (data) { data.srId = currentRecord.Id; } });//——————————————————
// refresh the grid
$(“#requisitionGrid”).jqxGrid({ source: RequisitionDataAdapter });April 17, 2019 at 12:38 pm in reply to: JavaScript exception thrown in _prerenderrows JavaScript exception thrown in _prerenderrows #104817Oops! I am using jQWidgets v7.1.0 (2019-Feb)
September 4, 2018 at 3:09 pm in reply to: Grid filter click event not working when a second grid is active and has focus Grid filter click event not working when a second grid is active and has focus #101853Never mind. Switched to showfilterrow: true. Still, it would be nice if the filter dialog would set it’s zindex properly on top of existing popups.
Have a great day, y’all!
September 4, 2018 at 2:48 pm in reply to: Grid filter click event not working when a second grid is active and has focus Grid filter click event not working when a second grid is active and has focus #101851Aha! the filter dialog popups behind the two popup windows, and is obscured! Any quick suggestions on how to address this would be most appreciated.
September 4, 2018 at 2:33 pm in reply to: Grid filter click event not working when a second grid is active and has focus Grid filter click event not working when a second grid is active and has focus #101850Oops! You have had two releases since the last time I checked. Please disregard this post until I check against the current library. My Bad. :/
July 30, 2018 at 12:48 pm in reply to: darkblue theme hides navigation buttons at top of dialog darkblue theme hides navigation buttons at top of dialog #101305Thanks for the notice! I am looking forward to the next update.
July 27, 2018 at 1:06 pm in reply to: darkblue theme hides navigation buttons at top of dialog darkblue theme hides navigation buttons at top of dialog #101280Yeah, 6.0.4 broke the darkblue css a bit. Not only the title band in the DateTimeInput, but dropdownlist placeholders were not showing in IE 11, or even Edge. Chrome is fine though.
I reverted back to 5.6.0 and the darkblue world is right again.
July 26, 2018 at 2:31 pm in reply to: darkblue theme hides navigation buttons at top of dialog darkblue theme hides navigation buttons at top of dialog #101257Ahh… it is the background image falling back to none in IE 11. This leaves the navigation controls and month name white on a white background.
July 26, 2018 at 2:17 pm in reply to: darkblue theme hides navigation buttons at top of dialog darkblue theme hides navigation buttons at top of dialog #101256Edge works fine.
Internet Explorer 11 lets jqx.base.css override jqx.darkblue.css on the background-color.
Unfortunately, jsFiddle does not support IE 11 at the moment. -
AuthorPosts