jQWidgets Forums

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Hiding grouping header Hiding grouping header #68776

    jscoder
    Participant

    Great! Thanks Nadezhda !!

    in reply to: Hiding grouping header Hiding grouping header #68397

    jscoder
    Participant

    Hi Nadezhda,

    Thanks, Is it possible to hide it when there is no grouping but show it if grouping is applied and hide it again once grouping is removed ?

    Thanks!

    in reply to: Tricky hyperlink in grid idea Tricky hyperlink in grid idea #68311

    jscoder
    Participant

    Aha got it done. Thanks Dimitar. Here is the solution if someone interested.

    Decided to keep same xml file format,

    <products>
    <product docid="XXX123">
    <productname>ABC</productname>
    ....
    </product>
    </products>

    Added id in datafields,

      datafields: [
                    { name: 'docid', type: 'string' },
                    { name: 'productname', type: 'string' },
                    ],
    /* Create JQGrid */
                $("#jqxgrid").jqxGrid(
                {
                    width: 850,
                    source: getAdapter(),
                    pageable: true,
    	sortable: true,
                    groupable: true,
    	autoheight: true,
                    filterable: false,
    	autoshowfiltericon: false,
                    columnsresize: true,
                    altrows: true,
                    columns: [
    	{ text: 'Product Name', datafield: 'productname',cellsrenderer: Opendocument},
                         ....
                    ]
                });

    Renderer function,

    var Opendocument= function (id,row, column, value) {
                    var _id= $('#jqxgrid').jqxGrid('getcellvalue', id, "docid");
    	var _pname=$('#jqxgrid').jqxGrid('getcellvalue', id, "productname");
                    var format = { target: '"_new"' };
    	var href="<a href=/$path/"+_id+"?OpenDocument>"+_pname;
                    var html = $.jqx.dataFormat.formatlink(href, format);
                    return html;
     }
    in reply to: Tricky hyperlink in grid idea Tricky hyperlink in grid idea #68275

    jscoder
    Participant

    Thanks Dimitar! Do you mean to accomplish hyperlink I need to redesign my XML file completely ? ain’t it possible to accomplish this using my existing schema ? Could you please provide sample example to hyperlink first column with your suggested schema ?

    Thanks a ton!

    in reply to: Grid case insensitive filter Grid case insensitive filter #68248

    jscoder
    Participant

    Thank you (y)

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