Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1015
jquery-ui theming problems
posted

I am having a problem applying jqueryui themes to the iggrid.  The problem occurs when I add the Paging feature.  The paging header and footer do not display correctly.  I need this to work since my site is based on jquery-ui themes that can be changed at anytime by a user.  I have tried with lower versions of jquery and jquery-ui with no success as well.  The infragistics themes work great but I cant use them all the time.

I am using:

  •  jquery-1.8.3.min.js
  • jquery-ui-1.9.2.min.js
  • IG/css/structure/infragistics.css
  • then whatever theme the user selected (1.9.2 version)

set in page like this:

<div id="gridContainer" style="width:100%;"><table id="grid"></table></div>

set from ajax call:

$(function () {

                $("#grid").igGrid({

                    dataSource: results["gridData"],

                    responseDataKey: "",

                    autoGenerateColumns: false,

                    dataSourceType: "json",

                    renderCheckboxes: true,

                    enableHoverStyles: true,

                    height: "100%",

                    width: "100%",

                    fixedHeaders: false,

                    primaryKey: "AreaID",

                    caption: "Area List",

                    columns: [

                        { headerText: "AreaID", key: "AreaID", hidden: true },

                        { headerText: "Name", key: "Name", dataType: "string" },

                        { headerText: "Short Name", key: "ShortName", dataType: "string" },

                        { headerText: "Active?", key: "IsActive", dataType: "bool" }

                    ],

                    features: [

                        { name: "Paging", type: "local", pageSize: 10, page: 1 },

                        { name: 'Sorting', type: "local" },

                        { name: 'Selection', mode: 'row', multipleSelection: false, activation: true, rowSelectionChanging: gridSelectionChange }

                    ]

                });

            });

 

The Sample.Zip file contains sample image of 2 themes applied for clarity.

 

If I try any jquery releases above this there will be errors from infragistics pertaining to other misc items. 

I am running the most current service releases for the Infragistics controls.  I can't ever find a release note on service changes before or after I install them. Maybe you could let me know how to find that as well.

Thanks in advance,

Michael

 

 

 

Sample.zip