Sigma Php Ajax framework, Ajax Components, GUI Builder
May 21, 2012, 10:37:58 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Bug with Grid in Internet Explorer 9 (IE9)  (Read 2547 times)
ghis
Jr. Member
**
Posts: 6


View Profile
« on: March 12, 2011, 04:49:46 PM »

I'm using the new IE9, yes it's still beta but is much better compare to previous IE. The grid is not displayed at all in IE9 with certain property. It took me a while to find out what was causing the problem, but I found it.

So anyways, there's issues with using editor fields, the problem is happening when using this:


it is working properly though with type of "select", it's seems to be only the "text" type so far. And also inside the IE developer tools it says that it has invalid character when trying to run this portion:


Finally, if I remove the type:"text", then the grid displays properly but of course is not editable. The only option I have for now is to use the compatibility mode of previous IE8 to render it properly.
Logged
dave
Jr. Member
**
Posts: 9


View Profile
« Reply #1 on: March 30, 2011, 09:08:57 AM »

I am receiving this error too.  The error happens when it tries to create the input element of type "text".  It is erroring here:

Sigma.doc.createElement($)

where $ = "<input type=\"text\">"

From what I have read, this is a result of IE9 all of a sudden becoming some-what standards compliant. 

http://garybentley.wordpress.com/2011/03/18/using-document-createelement-in-ie9-its-all-changed/

Hopefully, this is just a matter of checking for IE9 and treating it like FF, Chrome, etc.

Does Sigma Support have a timeline on when this issue will be reviewed and hopefully fixed?
Logged
ghis
Jr. Member
**
Posts: 6


View Profile
« Reply #2 on: April 02, 2011, 07:43:37 AM »

Well in the mean time, I have to use the compatibility mode of IE8, but I'm losing all the new CSS features though..  Embarrassed

Here's what you can use that make SigmaGrid to work in IE9:

<!-- Use IE8 compatibility mode -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
Logged
dave
Jr. Member
**
Posts: 9


View Profile
« Reply #3 on: April 04, 2011, 08:20:44 AM »

This doesn't work if you have a DOCTYPE declared.  I need the DOCTYPE to make the pages view properly in all other browsers.  Do you know a work around to make the compatibility meta tag work even if there is a DOCTYPE?

I guess I have to find another grid if I can't find a solution to this problem.
Logged
dave
Jr. Member
**
Posts: 9


View Profile
« Reply #4 on: April 04, 2011, 08:42:06 AM »

My mistake.

    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8">

Does work but you have to place immediately after the Title tag and BEFORE any links, scripts, etc.  HTH somebody.
Logged
yuki
Newbie
*
Posts: 1


View Profile
« Reply #5 on: July 18, 2011, 11:25:27 PM »

Hi,

I've solved this problem by two steps.
(I don't speak English.
If my English is wrong, please somebody some supplementary explanation.)


1. Save as "gt_patch_ie9.js":


2. Add to after the SigmaGrid JS-file:



Yuki Kikuchi
« Last Edit: July 18, 2011, 11:28:18 PM by yuki » Logged
moonas
Newbie
*
Posts: 1


View Profile
« Reply #6 on: July 25, 2011, 06:47:20 AM »

Thanks, Yuki, your patch works!
Logged
reggeraktion
Newbie
*
Posts: 4


View Profile WWW
« Reply #7 on: December 14, 2011, 06:02:22 AM »

thanks Yuki! Btw your english is very good Wink
Logged

Verdienen sie Geld von zu hause aus. Im Internet emails lesen und dafür Geld verdienen.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!