jQWidgets Forums

Forum Replies Created

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • in reply to: z-index z-index #97008

    gush
    Participant

    Hello again,

    Lowering the window’s modalZIndex value fixed it.

    Thanks

    in reply to: z-index z-index #97007

    gush
    Participant

    Hello Hristo,

    I’m actually using version 5.4.0.

    Regards,

    in reply to: Calendar Day Rendering Calendar Day Rendering #83916

    gush
    Participant

    oops,

    Never mind, I can use Scheduler.


    gush
    Participant

    hi,
    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.


    gush
    Participant

    btw,
    The reason I was getting 0 elements in the ready method was because I had “virtualmode” set to true.


    gush
    Participant

    Hi 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,


    gush
    Participant

    Hi 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,

    in reply to: select Event Not Firing select Event Not Firing #83316

    gush
    Participant

    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>
    in reply to: Cancelling 'unselect' event Cancelling 'unselect' event #83300

    gush
    Participant

    Thank you for your reply, Dimitar.

    I need it to be vertical, does jqxTabs support that?

    If not, any suggestions?

    in reply to: Popover pin/unpin Popover pin/unpin #83261

    gush
    Participant

    Thank you.
    I used jqxNavigationBar alone and got the behavior i needed with css like u suggested.

    in reply to: DropdownList inside window DropdownList inside window #83028

    gush
    Participant

    Hi Hristo,

    That worked perfectly. Thank you.

    in reply to: roundedCorners possible bug roundedCorners possible bug #26122

    gush
    Participant

    Hi 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.

    in reply to: roundedCorners possible bug roundedCorners possible bug #26117

    gush
    Participant

    /*
    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?

Viewing 13 posts - 1 through 13 (of 13 total)