jQWidgets Forums

Forum Replies Created

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

  • pedro_prt
    Participant

    Thanks Ivailo for your help, but I think you didn’t understood my question.
    I just want to hide the ‘>’ sign on the left of each row that doesn’t have details for a nested grid.
    The ‘>’ sign shood be shown only on rows that have details to fill a nested grid.

    Tks
    Pedro


    pedro_prt
    Participant

    Thanks

    I made it using

    $(‘#div_502_grid_cpacre’).jqxGrid(‘setcolumnproperty’, ‘cdg_f_cpacre’, ‘cellclassname’, function_to_select_lines_to_be_altered);


    pedro_prt
    Participant

    I found a topic, but it uses grid refresh to achieve it.
    http://www.jqwidgets.com/community/topic/change-row-color-after-render/

    I’d like to :

    1. select one or more rows
    2. all the rows that match the selected one(s), change one cell to red, but the selectd row or rows should continue selected.

    tks


    pedro_prt
    Participant

    Hi Dimitar

    Sorry for keep on this topic, but I think it’s important for other users.
    I changed timestamp in seconds to miliseconds and it worked

    Tks

    Pedro Oliveira


    pedro_prt
    Participant

    Hi Dimitar

    I allways get ’17/01/70′ on the date (data_vcto) column.
    My data has values like ‘1441166400’ (2015-09-02)

    Grid create function
    function grid_502_cpacre_cria(){
    $(“#div_502_grid_cpacre”).jqxGrid({
    width: 688, height: 360, columnsresize: true, rowsheight: 21, selectionmode: ‘multiplerows’, enablehover: true, sortable: true,
    localization: {decimalseparator: “,”, thousandsseparator:”.”, emptydatastring: “”}, theme: ‘energyblue’, scrollbarsize: 12,
    columns: [
    {text: ‘Cdg’, datafield: ‘cdg_f_parcelas’, width:40, type: ‘float’ },
    {text: ‘Data Vcto.’, datafield: ‘data_vcto’, width: ’90px’, cellsformat: ‘dd/MM/yy’},
    {text: ‘Conta’, datafield: ‘nome_konta’, width: ‘240px’},
    {text: ‘P/R’, datafield: ‘tipo’, width: ’80px’},
    {text: ‘Valor’, datafield: ‘valor’, width: ‘100px’, cellsalign: ‘right’, cellsformat: ‘d2’}

    ]
    });
    }

    Grid Update function
    function fn_grid_502_cpacre_atualiza(result){
    if(result.info[0].registros > 0){
    var dados = result.dados;
    var source =
    {
    datatype: “json”,
    datafields: [
    { name: ‘data_vcto’, type:’date’},
    { name: ‘valor’ },
    { name: ‘saldo’ },
    { name: ‘nome_konta’},
    { name: ‘num_parcela’},
    { name: ‘cdg_f_cpacre’ },
    { name: ‘cdg_f_parcelas’, type: ‘number’ },
    { name: ‘tipo’ },
    { name: ‘valor_baixas’ },
    { name: ‘qtd_baixas’ }
    ],
    localdata: dados
    };

    var dataAdapter = new $.jqx.dataAdapter(source);
    $(‘#div_502_grid_cpacre’).jqxGrid({source: dataAdapter});

    }
    }

    Tks
    Pedro Oliveira


    pedro_prt
    Participant

    Thanks Peter

    Works great !

    I wrote ‘cellrenderer’ instead of ‘cellsrenderer’ … with ‘S’.

    Best Regards

    Pedro Oliveira


    pedro_prt
    Participant

    I tried to override the .jqx-window-header class but has no effect

    $(‘.jqx-window-header’).css(“height”, “30px”);


    pedro_prt
    Participant

    Works Great

    I didn’t set the height of the sub grid or in other situation I set it to 100%.
    Now I set the sub grid height to 145 and the rowdetailsheight to 150 and it works perfectly.

    Thanks for your help


    pedro_prt
    Participant

    Hi

    My main grid is 798 width and the sub-grid is 250.
    I tried all possible scenarios. Different column widths, autoheight on/off, different sub-grid widths, etc.
    In all situations, if the sub-gris is heigher than the rowdetailsheight on the main-grid it’s impossible to see the hidden rows. If I try to scroll down the sub-grid width the keyboard, also doesn’t scroll.

    Hope you have a workaround because this grid is almost exactly what I need.

    I’m trying this grid width the 30-day fully functional evaluation version of jQWidgets (jQWidgets v3.8.0 (2015-Apr)). I don’t know if in others versions this situation works.

    Tks

    Pedro Oliveira

    in reply to: Dynamic rowdetailsheight? Dynamic rowdetailsheight? #70696

    pedro_prt
    Participant

    Hi

    I saw here many posts complaining about the vertical scroll bar that is not show in nested grids. I also tried lots of different configurations and the scroll bar is not shown.
    Isn’t there a definitive solution for that ? For example, forcing the scroll bar to be shown ?

    Tks

    Pedro

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