jQWidgets Forums
Forum Replies Created
-
Author
-
April 15, 2016 at 5:21 pm in reply to: Nested Grids. Conditionally show de expansion sign > Nested Grids. Conditionally show de expansion sign > #83547
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
PedroOctober 31, 2015 at 7:38 am in reply to: How to change cell style after grid rendering How to change cell style after grid rendering #77588Thanks
I made it using
$(‘#div_502_grid_cpacre’).jqxGrid(‘setcolumnproperty’, ‘cdg_f_cpacre’, ‘cellclassname’, function_to_select_lines_to_be_altered);
October 30, 2015 at 5:18 pm in reply to: How to change cell style after grid rendering How to change cell style after grid rendering #77581I 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
July 29, 2015 at 7:09 pm in reply to: date column from timestamp source date column from timestamp source #74277Hi 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 workedTks
Pedro Oliveira
July 29, 2015 at 1:19 pm in reply to: date column from timestamp source date column from timestamp source #74267Hi 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 OliveiraJuly 11, 2015 at 3:58 pm in reply to: jqxgrid edit doesn't update computed column jqxgrid edit doesn't update computed column #73628Thanks Peter
Works great !
I wrote ‘cellrenderer’ instead of ‘cellsrenderer’ … with ‘S’.
Best Regards
Pedro Oliveira
May 23, 2015 at 7:58 pm in reply to: How to set Window Header Height How to set Window Header Height #71500I tried to override the .jqx-window-header class but has no effect
$(‘.jqx-window-header’).css(“height”, “30px”);
May 7, 2015 at 6:40 am in reply to: Vertical Scrollbar in NestedGrid Vertical Scrollbar in NestedGrid #70762Works 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
May 6, 2015 at 10:14 pm in reply to: Vertical Scrollbar in NestedGrid Vertical Scrollbar in NestedGrid #70743Hi
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
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
-
AuthorPosts