jQWidgets Forums

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Grid for Scheduled Plan Grid for Scheduled Plan #56672

    gisernia
    Participant

    Hi Dimitar,
    It’s possible to have a preview of the scheduler? Or to know how will be?

    thanks
    Giulio

    in reply to: link in a cell link in a cell #17576

    gisernia
    Participant

    RESOLVED:

    this is the linkrender function:

            var linkrenderer_accounts = function (row, column, value) {
    if (value.indexOf('#') != -1) {
    value = value.substring(0, value.indexOf('#'));
    }
    href = source.records[row].ID;
    var html = "<a href=\"?module=accounts\&applettype\=baseview\&ret_module=accounts\&ret_applettype\=listview\&record="+href+"\">"+value+"</a>";
    return html;
    };
    in reply to: link in a cell link in a cell #17186

    gisernia
    Participant

    I use this function
    var linkrenderer = function (row, column, value) {
    if (value.indexOf(‘#’) != -1) {
    value = value.substring(0, value.indexOf(‘#’));
    }

    var format = { target: ‘”_blank”‘ };
    var html = $.jqx.dataFormat.formatlink(value, format);

    return html;

    and it’s ok to retrieve column data.

    But id is not in the row, it’s only in the source

    var source =
    {
    datatype: “json”,
    datafields: [
    { name: ‘id’},
    { name: ‘FST_NAME’},
    { name: ‘LST_NAME’},
    ],

    and in grid definition I have:

    columns: [
    { text: ”, datafield: ‘FST_NAME’, width: 200, cellsrenderer: linkrenderer},
    { text: ”, datafield: ‘LST_NAME’, width: 180 },
    ]

    I’d like to retrieve the id value!!

    thanks
    Giulio

    in reply to: link in a cell link in a cell #17014

    gisernia
    Participant

    yes,
    the sample is ok,
    but how can I calll the field ID inside the renderer function?

    thanks
    Giulio

    in reply to: Set item on the right Set item on the right #16590

    gisernia
    Participant

    RESOLVED

    just put
    $(“#jqxMenu”).jqxMenu({ height: 30,showTopLevelArrows: true});
    $(“#BS_Logout”).css(‘float’, ‘right’);
    $(“#jqxMenu”).css(‘visibility’, ‘visible’);

    after setting an ID (BS_Logout) for logout

    Logout\n”

    in reply to: Set item on the right Set item on the right #16587

    gisernia
    Participant

    (where logout is on the right…)

    home products services ……………………………………… logout

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