Recent Posts

Pages: [1] 2 3 ... 10
1
Help for ParamQuery Pro / Re: Row height Align with Grid height
« Last post by paramquery on Today at 09:09:46 am »
One quick option is to set wrap to false.

Other way is to wrap cell content in a div of specified max-height ( div height can also be made dependent upon grid height).

column.render = function(ui){
  var ht = this.widget().height();
  return "<div style='max-height:"+ ht/2 +"px;'>"+ui.cellData+"</div>";
}
3
Bug Report / Re: freezeCols option not working properly
« Last post by paramquery on Today at 08:59:12 am »
yes the issue is reproducible. It happens when there are hidden columns among the frozen columns.

I'm moving it the bug log, would let you know once the fix or a patch is available.
4
Help for ParamQuery Pro / Row height Align with Grid height
« Last post by lsl on April 29, 2017, 03:05:07 pm »
There is a grid with one record only with memo fields. The memo rows are many and always not able to display the complete information.
However, the grid height will be varies according to the screen size.
It there a method to set the row height align with the grid height so that we can get more rows in the memo as possible?
5
Bug Report / Re: freezeCols option not working properly
« Last post by kshipra on April 28, 2017, 12:13:58 am »
I have attached html file with grid and sample data in it that is having same issue.
6
ParamQuery Pro Evaluation Support / editCell Method problem
« Last post by francis6425 on April 27, 2017, 10:16:43 pm »
Hi,

I've a datagrid with multiple columns like barcode, productid, description, pkg, remarks, qty and price.
description and packaging column is non editable.
After entering data in barcode or productid, I want to to update the value of description, pkg, remarks & price according to values found from an array of objects which match the specific barcode or product id.
I've no problem in updating the values of the fields and then refreshing the row using the below code from the cellSave event.

        ui.rowData['description'] = row.description;
        ui.rowData['remarks'] = row.remarks;
        ui.rowData['pkg'] = row.pkg;
        ui.rowData['price'] = row.price;
        ui.rowData['qty'] = 1;
        grid.pqGrid("refreshRow", {rowIndx: ui.rowIndx});
        grid.pqGrid("editCell", {rowIndx: ui.rowIndx, dataIndx: "qty"});

With the last line above, I wanted it to jump directly to the qty column and open the editor after that.
However it always jump to the column after qty.
I think it is due to the onSave options for editModel having values of "nextFocus" or "nextEdit".
How can I cancel the keyboard event to move to the next column and go to the qty column instead after updating only in the barcode or productid column.

 Please advise.

Regards,
Francis

7
Help for ParamQuery Pro / Re: To hide the individual sub column of main column
« Last post by paramquery on April 27, 2017, 09:49:11 pm »
Any column / columns ( main or sub column ) can be hidden by setting hidden property to true.

followed by

grid.option("colModel", grid.option("colModel")); //refresh the colModel., refreshCM() can also be used instead.
grid.refresh();

Note that show/hide of grouped columns is supported only > v3.3.x
8
Suggest new features / Re: How to export entire nested grid to excel
« Last post by rsgmedia on April 27, 2017, 06:22:16 pm »
Thanks for the update. Please let us know what needs to be done to make this feature request as a high priority item as we have pressing needs from business for this feature. Also, we have Pro Support with our account.
9
Help for ParamQuery Pro / Re: To hide the individual sub column of main column
« Last post by bsolteam on April 27, 2017, 12:21:48 pm »
Hi Team,

var CM = $("#vessel_tab_main").pqGrid("option", "colModel");
CM[13].colModel[12].hidden = true;
$( "#vessel_tab_main"  ).pqGrid( "option", "colModel", colM );

My requirement is like as per the attached screen shot when i select the option 'DRAFT DWTS' the sub column 'Deadweight Thirteen' should be hidden.

10
Bug Report / Column Header with Different Background Color
« Last post by cijojohn on April 27, 2017, 10:20:04 am »
Hi Team,

I want Different Background color for different column in Grid.

how can we Acheive it ?

Thanks
Pages: [1] 2 3 ... 10