jQWidgets Forums

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts

  • glip
    Member

    Have you tried my sample? It gives error even without php file – just run it on local server.


    glip
    Member

    Sorry. Here is test page sample

    <!DOCTYPE html>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
    <title data-localize="title"></title>
    <link rel="stylesheet" href="scripts/jqwidgets/styles/jqx.base.css" type="text/css" />
    <script type="text/javascript" src="scripts/jquery/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="scripts/jqwidgets/jqxcore.js"></script>
    <script type="text/javascript" src="scripts/jqwidgets/jqxdata.js"></script>
    <script type="text/javascript" src="scripts/jqwidgets/jqxbuttons.js"></script>
    <script type="text/javascript" src="scripts/jqwidgets/jqxscrollbar.js"></script>
    <script type="text/javascript" src="scripts/jqwidgets/jqxinput.js"></script>
    <script type="text/javascript" src="scripts/jqwidgets/jqxgrid.js"></script>
    <script type="text/javascript" src="scripts/jqwidgets/jqxgrid.columnsresize.js"></script>
    <script type="text/javascript" src="scripts/jqwidgets/jqxgrid.sort.js"></script>
    <script type="text/javascript" src="scripts/jqwidgets/jqxgrid.pager.js"></script>
    <script type="text/javascript" src="scripts/jqwidgets/jqxgrid.selection.js"></script>
    <script type="text/javascript" src="scripts/jqwidgets/jqxmenu.js"></script>
    <script type="text/javascript" src="scripts/jqwidgets/jqxdropdownlist.js"></script>
    <script type="text/javascript" src="scripts/jqwidgets/jqxlistbox.js"></script>
    <script type="text/javascript">
    $(document).ready(function () {
    var source = {
    datatype : "json",
    datafields : [
    { name: 'city_id', type : 'int' },
    { name: 'city_name' }
    ],
    cache : false,
    root : 'rows',
    url : "some.php"
    };
    $("#grid").jqxGrid({
    width : '100%',
    height : '100%',
    autoheight : false,
    pagesize : 25,
    pagesizeoptions : ['25', '50', '100', '200'],
    pageable : true,
    sortable : true,
    virtualmode : true,
    columns : [{ text: 'city', dataField: 'city_name' }],
    rendergridrows : function (params) {
    return params.data;
    }
    });
    $("#grid").jqxGrid({ source: new $.jqx.dataAdapter(source, { autoBind : false }) });
    });
    </script>
    </head>
    <body>
    <div id="grid"></div>
    </body>
    </html>
    in reply to: How to set dialog result How to set dialog result #26066

    glip
    Member

    I get it – $(form).jqxWindow(‘dialogResult’, { OK : true, Cancel : false, None : false })


    glip
    Member

    ‘refresh’ is working great, but it’s reloading data again, that is not good because takes time. So it would be greate to do ‘refresh’ without data loading, ie. update only layout.


    glip
    Member

    My bad, thank you! Fixed it.


    glip
    Member

    I’d like to buy licence for jqwidgets but i have to demostrate working examle. Please look at this http://irs.ua/gss2/ Last tab has the proble I’ve described. If you resize browser window after load it’s all become correct.


    glip
    Member

    I use this example as base. But this example has direct structure with all dimensions hard coded. In my case I’ve got images with different heights. So how to work on that! If page loaded and I rseize it by myself listbox calcs all the heights correctly, but on load it can’t because images are not there yet. I hope I describe it understandable.

    in reply to: Getting the tab window height Getting the tab window height #19832

    glip
    Member

    It’s absolutly doesn’t help! I did all my dimensions in persentage. When switching between tabs layout of other tabs is broking down. Maybe you know what i do wrong?

    in reply to: Getting the tab window height Getting the tab window height #19793

    glip
    Member

    Hi there!
    Have you resolve this issue? I have the same trouble!
    Thanks

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