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
15
Unable to get property '_injectGrid' of undefined or null reference
posted

We are upgrading the jquery versions to the latest for an ownapplication code.

On upgrading to jquery 3.4.1, the grid is not loading for the machine level application and is failing in infragistics.ui.grid.framework.js with the below error :

 

0x800a138f - JavaScript runtime error: Unable to get property '_injectGrid' of undefined or null reference

0x800a138f - JavaScript runtime error: Unable to get property 'locale' of undefined or null reference

 

Following this error, the grid on the page is not loading.

Code snippet- html code

We are upgrading the jquery versions to the latest for the PAMS application code to cover the VAT findings.

On upgrading to jquery 3.4.1, the grid is not loading for the machine level application and is failing in infragistics.ui.grid.framework.js with the below error :

 

 

0x800a138f - JavaScript runtime error: Unable to get property '_injectGrid' of undefined or null reference

0x800a138f - JavaScript runtime error: Unable to get property 'locale' of undefined or null reference

 

Following this error, the grid on the page is not loading.

HTML CODE : 

<div style="clear: both;">
@(Html.Infragistics().Grid<AgentEvent>().ID("eventsGrid")
.Width("100%").Caption("Agent Events")
.Columns(x =>
{
x.For(y => y.TimeStamp).Width("15%").HeaderText("Date").Format("yyyy-MM-dd HH:mm").DataType("date");
x.For(y => y.EventId).Width("8%").HeaderText("Event ID");
x.For(y => y.Message).Width("auto").HeaderText("Message");
})
.Features(f =>
{
f.Paging().PageSizeDropDownLocation("inpager").PageSize(10);
f.Resizing();
})
.DataSourceUrl(Url.Action("AgentEventData", new { id = Model.Agent.Id }))
.DataBind().Render())
</div>

ERROR : Unable to get property '_injectGrid' of undefined or null reference in nfragistics.ui.grid.framework.js 

Could you please help me out on this?

Parents
No Data
Reply
  • 17590
    Offline posted

    Hello Neel,

    Can you please let me know which version of Ignite UI for jQuery are you currently using?

    Keep in mind that older version of our product may not be compatible with latest versions of jQuery. More about our supported environments could be found here.

    Please let me know if you need any further assistance with this matter.

Children