ok. Thank you. I will disable the virtual scroll and just use the regular pager.
Thank you!
Hello Will,
Thank you, that makes sense.
Just another issue, when autoPrint is set to true, the behavior is different in different browsers
Chrome / Opera – first time print dialog comes, if you cancel – second time clicking on print does not bring up print dialog
Firefox – works correctly.
Kris
Also,
I don’t have the label parameter in the colModel, but I have colNames – why is this not being used to name the columns when exported to html
Hello Will,
I will try what you suggested – but it would be a better solution when data is not local – just to get the data and pass it as a parameter or better yet get the array data since it is already in the grid
var mydata = $('#mygrid').jqGrid('getGridParam','data');
Let me know what you think?
Kris
Hello Will,
Here’s is the link to the issue
http://50.53.67.209:90/jqgrid/gridExportHtml.php
Click on the print – you will see column names are not taken from the colNames array and also print is blank
Thanks,
Kris
I will try to create a example,. incoming data format is xml
Hello,
Checking in to see if you have any update on this
Thanks,
Kris
Thank you! that worked.
Ok – I will try to prepare a demo.
When grouping is enable – only the records on the page is exported . If not using grouping, then all records are exported.
Hope this helps.
Thanks,
Kris
using v5.2.1 – validationCell does not seem to be working
1 2 3 4 5 6 7 8 9 10 11 |
var editparams= { "keys":true, ... validationCell:myGridOnValidate } myGrid.jqGrid('editRow',rowid,editparams); function myGridOnValidate(elem,error,iRow,iCol){ alert(error); } |
Looked at the docs, no console errors – not sure why it is not being called when there is validation error – instead error dialog pops up
please help
Thanks,
Kris
Thanks! will give this a try
Here’s a scenario – page has 2 grids – grid are loaded from database via ajax with datatype xml
Grid 1 – list all the products
Grid 2 – user selects the product row in Grid 1 – this shows all the orders associated with product
User scrolls down and selects a order item from Grid 2 – this shows form below – where user substitutes the product with a another – This needs to update info in Grid 1 and Grid 2
For Grid 1 we just replace the content of the row using rowid and setRowData
For Grid 2 we have reload the grid to show the newly substituted item and any other changes done for the items by other users. Here in lies the problem – grid scrolls to the top on reload
It would be really useful to maintain user selected row in Grid 2 after the reload – in other words Grid 2 should return to the selected row on reload
Hope this makes sense
Thank you!
onCellSelect event is firing but event object is returning as undefined
we are trying to position a popup next to the cell – we were using the event object
1 2 3 4 |
onCellSelect:function(rowid,iCol,cellcontent,evt){ //evt is returned as undefined } |
If there is another method to get the x/y position, let us know
Thanks,
Kris
Guriddo Customer
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top