jQWidgets Forums
Forum Replies Created
-
Author
-
Hello again,
Lowering the window’s modalZIndex value fixed it.
Thanks
Hello Hristo,
I’m actually using version 5.4.0.
Regards,
oops,
Never mind, I can use Scheduler.
April 15, 2016 at 11:03 pm in reply to: Cell renderer DOM elements not found by jquery Cell renderer DOM elements not found by jquery #83552hi,
here’s how it sums up, and please forgive my not-enough-technical language.I’m using server-side paging; so, in order to have the total number of rows vs. the rows in the current page, and for the grid to display the right number of pages in the pager, I have to set virtualmode to true.
Now, when virtualmode is set to “true”, the following is incorrect:
the ready callback is executed at the end of the grid’s initialization
Not to forget that, even when virtualmode is set to “false”, and
ready : function() { var i = $('#jqxgrid').find('.GridEditLink').length; console.log(i); }
works, it works only for initially visible rows.
April 15, 2016 at 4:38 pm in reply to: Cell renderer DOM elements not found by jquery Cell renderer DOM elements not found by jquery #83545btw,
The reason I was getting 0 elements in the ready method was because I had “virtualmode” set to true.April 15, 2016 at 4:31 pm in reply to: Cell renderer DOM elements not found by jquery Cell renderer DOM elements not found by jquery #83544Hi ivailo,
Got it. it’s working now.
Thank you.But, I’m getting only the visible rows. Any way I can get all the “.GridEditLink” elements?
Regards,
April 15, 2016 at 9:44 am in reply to: Cell renderer DOM elements not found by jquery Cell renderer DOM elements not found by jquery #83528Hi ivailo,
Thank you for your reply.
The only difference I can see between the demo and my code is that in the demo the data is being loaded prior to initializing the grid, whereas my ‘source’ var looks like this:var sourceVar = { datatype: "json", datafields: dataFieldsVar, url: 'server url', root: 'Rows' }; var dataAdapter = new $.jqx.dataAdapter(sourceVar); grid.jqxGrid( { source: dataAdapter, ... });
Do you think this is why I can’t find my link elements?
Should I load the data first, then pass it to the grid?Regards,
Got it,
Turns out, once I call jqxDropDownList on a select, the class ‘isDropdown’ is removed from the select element and added to a new div element created by jqxDropDownList.
so here’s how it worked:
<!DOCTYPE html> <html lang="en"> <head> <link href="jqx.base.css" rel="stylesheet"/> <script src="jquery-2.1.4.js"></script> <script src="jqx-all.js"></script> <script> $(document).ready(function () { $('.isDropdown').jqxDropDownList(); $('.isDropdown').on('select', function(event) { alert(event.args.index); }); }); </script> </head> <body> <select class="isDropdown"> <option value="1">roni</option> <option value="2" selected>soni</option> <option value="3">toni</option> </select> <br/> <select class="isDropdown"> <option value="1">ronia</option> <option value="2">sonia</option> <option value="3">tonia</option> <option value="4" selected>uonia</option> </select> </body> </html>
April 8, 2016 at 3:33 pm in reply to: Cancelling 'unselect' event Cancelling 'unselect' event #83300Thank you for your reply, Dimitar.
I need it to be vertical, does jqxTabs support that?
If not, any suggestions?
Thank you.
I used jqxNavigationBar alone and got the behavior i needed with css like u suggested.Hi Hristo,
That worked perfectly. Thank you.
August 2, 2013 at 12:32 am in reply to: roundedCorners possible bug roundedCorners possible bug #26122Hi Peter,
Thank you for your reply.
I tried the code you provided, the button had its bottom right corner rounded instead of the bottom right.
In my previous reply I included the actual code from “jqxbuttons.js” v2.9.3, in this file (not the documentation), “Bottom-Left” is defined “jqx-rc-br”, and I think that’s what’s causing the issue.
Below is the code copied from “jqxbuttons.js”
Again, thank you for your support.
August 1, 2013 at 10:26 pm in reply to: roundedCorners possible bug roundedCorners possible bug #26117/*
jQWidgets v2.9.3 (2013-July-11)
Copyright (c) 2011-2013 jQWidgets.
License: http://jqwidgets.com/license/
*/(function(a){a.jqx.cssroundedcorners=function(b){var c={all:”jqx-rc-all”,top:”jqx-rc-t”,bottom:”jqx-rc-b”,left:”jqx-rc-l”,right:”jqx-rc-r”,”top-right”:”jqx-rc-tr”,”top-left”:”jqx-rc-tl”,”bottom-right”:”jqx-rc-br”,”} “bottom-left”:”jqx-rc-br” ….
The above is a copy/paste from jqxbuttons.js, is there a newer version?
-
AuthorPosts