We help IT Professionals succeed at work.
Get Started

Jquery Tree Grid

lulu50 asked
Last Modified: 2015-07-31

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

Watch Question
Most Valuable Expert 2017
This problem has been solved!
Unlock 2 Answers and 7 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE