Home › Forums › Guriddo jqGrid JS › jqGrid – Freezing columns with row spanning
I am using row spanning in jqgrid as described in the following answer: Jqgrid – grouping row level data
The problem that I am having is once I set a column with the row span on it to frozen = true, the overlay that shows up loses the row spanning so the overlay doesn’t cover the entire table and the rows don’t line up with the proper data. Is there a way to insure the frozen columns that show up will use the same row span as the original table?
Hello,
Can you please send us a test case or a link to the problem?
This way we can see what is happen and eventually fix the problem.
Thank you very much.
Kind Regards,
Below is a jsFiddle that I’ve created showing the issue.
Hello,
First of all sorry for the late answer.
Thanks for the test case.
The problem is not in jqGrid, but a way rowspan works. In order this to work the table must have another column which is not rowspaned. – I will explain.
The froxzen columns clone the table and removes the columns that are needed to have a frozen property. The remaining table is the inserted into the div and this way we have a frozen property.
In your case the first two column are rowspaned, but there is missing another which column which should fix the issue.
At end we have the following content:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
<table> <tbody> <tr class="jqgfirstrow" role="row"> <td role="gridcell" style="height:0px;width:70px;"></td> <td role="gridcell" style="height:0px;width:80px;"></td> </tr> <tr role="row" id="1" tabindex="-1" class="jqgrow ui-row-ltr ui-widget-content"> <td role="gridcell" style="text-align:center;" title="USA" aria-describedby="list_country" rowspan="5">USA</td> <td role="gridcell" style="text-align:center;" title="Texas" aria-describedby="list_state" rowspan="5">Texas</td> </tr> <tr role="row" id="2" tabindex="-1" class="jqgrow ui-row-ltr ui-widget-content "> <td role="gridcell" style="text-align:center;display:none" title="USA" aria-describedby="list_country">USA</td> <td role="gridcell" style="text-align:center;display:none" title="Texas" aria-describedby="list_state">Texas</td> </tr> .... </tbody> </table> |
You can check it and see that this does not work the way you want.
In order to fix the issue, either set the city column to be frozen or just add rownumbers : true, which will add the another visible column
Kind Regards,
This issue has come back around for me. I understand the issue with HTML that you brought up in your response, but I’m hoping that a new resolution can be found. I know that the free version of jqgrid has come up with a solution, so I wanted to bring it up again.
Hello,
Currently there is no resolution the way you want. Tony has point you to a solution of the problem – you need to add another column to be frozen.
Which version do you use – free jqGrid or Guriddo jqGrid?
Are you licensed user? I can not find your e-mail in our database.
Kind Regards,
Will
Guriddo Support Team
My company is licensed to use your product, we are using 5.1.0. The company name is Mirus Restaurant Solutions and the email associated should be tmondelli@mirus.com or jeff@mirus.com.
In our application users can dynamically freeze columns, so the solution does not work. We are considering moving to the free-jqGrid since this issue is resolved in that product.
Hello,
Thank you for information – your Subscription is expired.
If you find free-jqGrid better than Guriddo jqGrid you are free to move tho this product.
Good luck!
Kind Regards,
Will
Guriddo Support Team
Thanks, and good luck to you, too. It is disappointing that this is the response to an obvious flaw in the functionality of your product. I understand how HTML works, but to use that as an excuse not to try and resolve it is hard to swallow – especially given others have solved this problem. As a person that has paid for your product, I’d rather hear that it is a lower priority. That way I would know that you are acknowledging there is an issue and not blowing me off.
Hello,
I apologize for the situation and the tone of behavior.
Each software product has problems. If someone does not recognize this, then something is wrong.
Most problems are solved, but there are those who find it difficult to be solved in a particular situation or efforts made to resolve them would bones too.
In your case it really is and you repeatedly been told that at the moment this is the solution.
Of course there are software products, where this problem does not exist, but that does not mean that we need to mention how bad the product Guriddo jqGrid is, for which you have paid license.
Again, I apologize for what happened and I hope in the future to find common solutions, not hatred.
To corrected the mistake Your License was extended by three months and personally I am committed to 10 days to give you a definitive answer to the problem.
Kind Regards,
Thanks Tony, I appreciate your reply and extending our subscription.
Hello,
Currently I do not find a appropriate solution for this. Let me try another approach.
Will let you know ASAP.
Thank you
Kind Regards,
Hello,
I have fixed the problem here.
You can download the code from GitHub and test it. See my previous instructions how to use the code from GitHub.
The code needs to be optimized, but I will do this when the bug fix will be published.
Please let us know if the problem is fixed for you.
Thank you.
Kind Regards,
Great, thanks for pushing this through. I will test it and let you know how it works.
I tested to new code on the same example that I posted in the jsfiddle, but I had the same results. I double checked and I am using the correct file and I saw the new code that you referred to in the file, but it didn’t work.
Hello,
This is strange. Do you have clear the browser cache? Sometimes this help.
I have re created your example, which uses the code from GitHub.
Here is the link to your demo
It seems it is fixed here.
Kind Regards
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top