Jquery Tree Grid


I am using Jquery Tree Grid.

I want to change the height of the Tree Grid header.  

This is making me crazy!!!!

all I want is to change the height from 29 to 25 for example, I search all CSS files and can't find it than I searched all my files and still can't find it.

I don't know from where the inline style is getting populated.
I see the inline height for filtertreeGrid is 29px but I can't locate the file that populate the height.

I don't know!!! I looked everywhere in all my CSS in all my Jquery stuff nothing. It's like magic so,
I need your help please.

Thank you


<div class="jqx-widget-header jqx-grid-toolbar" id="filtertreeGrid" style="left: 0px; top: 0px; width: 850px; height: 29px; visibility: inherit; position: absolute;">

Open in new window

<!DOCTYPE html>
<html lang="en">
    <title id="Description">Blaze Rule.</title>
    <link rel="stylesheet" href="CSS/jqx.base.css" type="text/css" />
    <script type="text/javascript" src="Script/Grid/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="Script/Grid/jqxcore.js"></script>
    <script type="text/javascript" src="Script/Grid/jqxdata.js"></script>
    <script type="text/javascript" src="Script/Grid/jqxbuttons.js"></script>
    <script type="text/javascript" src="Script/Grid/jqxscrollbar.js"></script>
    <script type="text/javascript" src="Script/Grid/jqxdatatable.js"></script>
    <script type="text/javascript" src="Script/Grid/jqxtreegrid.js"></script>
    <script type="text/javascript" src="Script/Grid/demos.js"></script>

    <script type="text/javascript">
        $(document).ready(function () {          
            // prepare the data
            var source =
                dataType: "csv",
                dataFields: [
                    { name: 'EmployeeKey', type: 'number' },
                    { name: 'ParentEmployeeKey', type: 'number' },
                    { name: 'FirstName', type: 'string' },
                    { name: 'LastName', type: 'string' },
                    { name: 'Title', type: 'string' },
                    { name: 'HireDate', type: 'date' },
                    { name: 'BirthDate', type: 'date' },
                    { name: 'Phone', type: 'string' },
                    { name: 'Gender', type: 'string' },
                    { name: 'DepartmentName', type: 'string' }
                    keyDataField: { name: 'EmployeeKey' },
                    parentDataField: { name: 'ParentEmployeeKey' }
                id: 'EmployeeKey',
                url: 'employeesadv.csv'
            var dataAdapter = new $.jqx.dataAdapter(source);
            // create Tree Grid
			    width: 850,
                source: dataAdapter,
                pageable: true,
                columnsResize: true,
				sortable: true,
				filterable: true,                
			    filterMode: 'simple',
                ready: function()
                    // expand row with 'EmployeeKey = 32'
                    $("#treeGrid").jqxTreeGrid('expandRow', 32);
                columns: [
                  { text: 'FirstName', dataField: 'FirstName', minWidth: 100, width: 200 },
                  { text: 'LastName',  dataField: 'LastName', width: 200 },
                  { text: 'Department Name', dataField: 'DepartmentName', width: 150 },
                  { text: 'Title', dataField: 'Title', width: 300 },
                  { text: 'Birth Date', dataField: 'BirthDate', cellsFormat: 'd', width: 120 },
                  { text: 'Hire Date', dataField: 'HireDate', cellsFormat: 'd', width: 120 },
                  { text: 'Phone', dataField: 'Phone', cellsFormat: 'd', width: 120 }
<body class='default'>
    <div id="treeGrid">


Open in new window

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Julian HansenCommented:
Can you post a link? All your script and css includes are local so we can't really test on the code posted.
lulu50Author Commented:
Hi Julian,

I can't upload any file from company computer

this is the link from where I got the grid


Try to replicate the example and see if you can change the header inline style to a different color for example.

I just want to know, how to get to the inline style that shows on my browser.

Instead of searching in the themes file, create your own "override" file.  That way you can always "reset" everything by just getting rid of your override file.  For example:
<link href="/path/to/original.css"/>
<link href="/path/to/overrides.css"/>

as for your issue, try adding this to "overrides.css" try:
.jqx-widget .jqx-grid-column-header, {height: 25px !important;}

Open in new window

Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Julian HansenCommented:
To build on hielo's post and lenamtl - if you follow the style guidelines in the link posted by lenamtl you will see the following entry

jqx-widget-header - applied to a Grid column, Toolbar, Statusbar and Groups Header.

Open in new window

This is the style you need to set - something like this
.jqx-widget-header {
  height: 25px !important;

Open in new window

Here is a sample theme stylesheet

So basically you create a new style sheet (CSS  file). Add the overrides you want on the items shown in the first link using the second as a guide. Save the file and include it in your html file AFTER the jqx.base.css file. That should do it.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
lulu50Author Commented:
Thank you
Julian HansenCommented:
You are welcome.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.