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
400
igGrid with igDataChart issue (The GridWithCard sample from webinar)
posted

 

Hi all,

I have download some sample codes from Jason Beres' webinar from this site:

http://es.infragistics.com/community/blogs/jason_beres/archive/2012/06/23/jquery-html5-infragistics-webinar-week-follow-up-get-code-and-decks.aspx

I downloaded this file: http://users.infragistics.com/jasonb/blogs/building-real-world-apps.zip

the first sample in this zip file is GridWithChart. However I got an error. See attached screenshot. the error is occurred in infragistics.dvcommonwidget.js

It just says something is null. Is it related to modernizer.js

I do have mvc 3, entity framedwork 4.1 and 2012.1 Jquery installed on my computer. I don't know what I miss.

 

Thanks,

Betty

GridWithChartError.zip
Parents
No Data
Reply
  • 6279
    Verified Answer
    posted

    Hi Betty,

    There are a couple of things to consider about this sample which might be the causes of the error you've received:
    1. If you open the sample in IE8 or IE7, you will receive the error you mentioned because both browsers do not support the HTML 5 <canvas> tag which is used by our HTML5 charts.
    2. There's an excessive comma (,) at line #104 - right after the definition of the features array - however only IE7 is strict enough to whine about such an error so if you remove that comma you will be OK.

    As a conclusion I suggest running the sample on IE9, Firefox, Chrome, Opera, Safari or Maxthon - just later generation browsers :)
    That way you will be able to get the most out of the sample. 

    Cheers,
    Borislav 

Children