jQWidgets Forums
Forum Replies Created
-
Author
-
Hi Peter Stoev,
This issue occurs because the file ‘jqx-all.js’ has two different constructors for the dataview. The ‘suspendupdate’ method is located in the first constructor and is unavailable because second constructor overrides the first.
December 3, 2013 at 9:14 am in reply to: cannot select date with the mouse cannot select date with the mouse #45917Will you fix this bug?
Best regards, Yuri Antipin
December 3, 2013 at 8:40 am in reply to: cannot select date with the mouse cannot select date with the mouse #45912Hi Peter Stoev,
Navigate to example page.
Try expand calendar and change focused cell with keyboard:
You cannot select focused date with the mouse.
Best regards, Yuri Antipin
November 22, 2013 at 10:37 am in reply to: jqxTabs control breaks other controls jqxTabs control breaks other controls #33147Hi Peter Stoev,
It is just a simple example that demonstrates the bug.
My temporary solution:<script type="text/javascript"> $(document).ready(function () { function createWindow(tabs, input, combobox) { input.jqxDateTimeInput({ width: '100%' }); combobox.jqxComboBox({ width: '100%' }); tabs.jqxTabs({ width: 300, height: 200 }); $('#form').jqxWindow({ height: 400, width: 400, title: '', resizable: true, initContent: function () { $('#form').find('.jqx-window-content') .append(input) .append(combobox) .append(tabs); } }) } var tabs = $('<div><ul><li>First tab</li><li>Second tab</li></ul><div></div><div></div></div>'); var input = $('<div>').css('margin-bottom', 5); var combobox = $('<div>').css('margin-bottom', 5); createWindow(tabs, input, combobox); }); </script>
In this example everything works correctly. Why I can’t use the inline code?
Best Regards,
Yuri AntipinOctober 16, 2013 at 10:12 am in reply to: jqxComboBox fails inside the jqxWindow control jqxComboBox fails inside the jqxWindow control #30819Hi Peter Stoev,
I hope this is a temporary solution?
August 19, 2013 at 5:46 am in reply to: Adding new row causes collapse of all groups. Adding new row causes collapse of all groups. #27094Hi Peter Stoev,
Do you planning to release this functionality?
August 19, 2013 at 5:05 am in reply to: Adding new row causes collapse of all groups. Adding new row causes collapse of all groups. #27084Addition:
I use addrow method like this: $(“#jqxgrid”).jqxGrid(‘addrow’, null, newrow);
Addition:
Usage of body {overflow-y: hidden; } just hides redundant scrollbar. Nevertheless the drag area is greater than screen area (extra area in page bottom).
Hi Peter Stoev, thank you for answer.
I know a solution, I just reported the issue.
Hi Dimitar!
I know that in second example I’m trying to remove more rows than exist. I just gave an example of a script with deleterow method with which can be obtained similar error.
In any case, the script must not fail even if source doesn’t contains row.Hi Dimitar!
If I use the deleterow method there is a similar error.
Example with deleterow method:
<!DOCTYPE html><html lang="en"> <head> <meta charset="utf-8" /> <title>jxgGrid dataBind error</title> <link rel="stylesheet" href="styles/jqx.base.css"/> <script type="text/javascript" src="scripts/jquery-1.10.2.min.js"> </script> <script type="text/javascript" src="scripts/jqx-all.js"> </script> <script type="text/javascript"> $(document).ready(function() { var localdata = [], i; for (i = 0; i < 10; i++) { localdata.push({ id: i, column1: i.toString() }); } var datafields = [{ name: 'id' }, { name: 'column1' }], columns = [{ text: 'Column 1', datafield: 'column1' }]; var source = { datafields: datafields, id: 'id', datatype: 'array', localdata: localdata }; var dataAdapter = new $.jqx.dataAdapter(source); var gridSettings = { source: dataAdapter, columns: columns, height: '100%' }; $('#grid').jqxGrid(gridSettings); $('#grid').css('border', 0); $('#grid').on('cellclick', function(event) { if (event.args.rightclick) return; var rowindex = event.args.rowindex; var rowid = parseInt($('#grid').jqxGrid('getrowid', rowindex)); var rowIDs = []; for (i = 0; i < 10; i++) { rowIDs.push(rowid + i); } $('#grid').jqxGrid('deleterow', rowIDs); }); }); </script> <style type="text/css"> html, body { height: 100%; } body { margin: 0; } </style> </head> <body> <div id="grid" /> </body></html>
July 30, 2013 at 3:47 am in reply to: Incorrect height of jqxTabs Incorrect height of jqxTabs #25912Hi Peter Stoev!
Yes, DIV tag of jqxTabs has height 100%. But the increase of height is due to the content of the widget. Inner DIV’s have clearly established height: 33px and 399px instead of 33px and 366px (Firefox debugger). Because of this table structure is broken. Second DIV height should be reduced by 33px (the height of first DIV / tabs header).
July 26, 2013 at 3:31 am in reply to: [object Object] instead of empty string [object Object] instead of empty string #25762Hi Peter Stoev, thanks for your reply.
This example illustrates a bug:<!DOCTYPE html><html lang="en"> <head> <meta charset="utf-8" /> <title>jxgGrid mapping error</title> <link rel="stylesheet" href="styles/jqx.base.css"/> <script type="text/javascript" src="scripts/jquery-1.10.2.min.js"> </script> <script type="text/javascript" src="scripts/jqx-all.js"> </script> <script type="text/javascript"> $(document).ready(function() { var inputData = { data: { records: [{ columnName1: { dv: '', rv: '' }, columnName2: { dv: '', rv: '' } }, { columnName1: { dv: 'column1', rv: 'column1' }, columnName2: { dv: 'column2', rv: 'column2' } }] } }; var datafields = [{ name: 'columnName1', map: 'columnName1>dv' }, { name: 'columnName2', map: 'columnName2>dv' }], columns = [{ text: 'Column 1', datafield: 'columnName1' }, { text: 'Column 2', datafield: 'columnName2' }]; var source = { datatype: 'json', datafields: datafields, root: 'records', localdata: inputData }; var dataAdapter = new $.jqx.dataAdapter(source); var gridSettings = { source: dataAdapter, columns: columns }; $('#grid').jqxGrid(gridSettings); }); </script> </head> <body> <div id="grid" /> </body></html>
July 25, 2013 at 11:17 am in reply to: [object Object] instead of empty string [object Object] instead of empty string #25720I can implement russian l10n for jqxGrid widget if you fix the problem.
-
AuthorPosts