Link to home
Start Free TrialLog in
Avatar of Silas2
Silas2

asked on

th splits into three

I'm using a jquery pluggin grid , the problem i'm getting is that the <th>  when 'sortable' and 'resizeable'=true, renders with two spans, one for each icon, plus a div for the <th> text and these are all going on different lines, so the table header is 3 lines high.
I can't find any help for the pluggin on it, I don't know if this is by design or what?
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Can you post your code or a link to your sample?
Avatar of Silas2
Silas2

ASKER

Its a bit cumbersome as its html on-the-fly, but here's a screen shot of the DOM explorer + the appearance.
DOMExplorerShowingTHead.rtf
GridHeaderIn3Lines.jpg
Avatar of Silas2

ASKER

Hi, Scott, did that show my point?
No.  While images let me see visually what you see, they don't let me see the code and figure out what the issue is.  

What you need to do is post a link to a sample. If there is confidential data, create just a new sample page.  http://www.sscce.org/  Just with the basic code that will reproduce your issue.

Once you do that, we can help you.
Avatar of Silas2

ASKER

Can you not see the DOM html? Its as good as it gets as it's dynamically created showing the source won't show anything (except a jQuery call).
>Can you not see the DOM html
No.  

If you are not going to post a link to your test page or perhaps recreate your code in something like jsbin.com or post your actual code here (Please, just the very basic code that will recreate the issue,  not 1000 lines of code) we really can't help.
Example of how easy things can be to help you when you post a link http:Q_28374903.html
Avatar of Silas2

ASKER

But the DOM explorer is the only way I can see the html. The only code I put in is:
jQuery(document).ready(function () {
        //debugger;
        createGrid = function () {
            jQuery("#ProductsGrid").jqGrid({

                url: '/ViewProducts/LoadData/',
                postData: {
etc.

Open in new window

It is a bit of a problem to recreate as its a web app behind logins,
Silas2

I unaccepted your answer.   Only answers that solve your problem should be accepted.

I have asked  you several times to post either a link to your code or to create SAMPLE code.  This might mean you have to work a little by editing your rendered html (View Source, Copy, pasted edit).

You can close out the question by deleting it or if you want to continue, post a link or sample code. Otherwise, what you have provided is not enough to help you out.

padas
Topic Advisor
Avatar of Silas2

ASKER

Right, I've put it up on the web. You should be able to see it without login. I;ve tested on three browsers, they all look pretty much the same...
http://ipackweb.pipeten.co.uk/testgrid.html
ASKER CERTIFIED SOLUTION
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Silas2

ASKER

Wow! thanks. It must be an old version of that file ui.JQGrid.css, I didn't edit it directly.