0 Replies Latest reply on Nov 13, 2012 9:01 AM by CF-User

    cfgrid widths in ColdFusion 10 on different platforms/browsers

    CF-User

      Upgrading from CF8 to 10 brings loads of pain (especially all the customized Ext-Components )...Now stuck with a problem in the basic functionality (taken from an reference-example):

       

      <!--- Query the database to fill up the grid. ---> 
      <cfquery name = "GetCourses" dataSource = "cfdocexamples"> 
          SELECT Course_ID, Dept_ID, CorNumber, 
          CorName, CorLevel 
          FROM CourseList
          where dept_ID = 'BIOL'
          ORDER by Dept_ID ASC, CorNumber ASC 
      </cfquery> 
      
      <h3>cfgrid Example</h3> 
      <i>Currently available courses</i> 
      <!--- cfgrid must be inside a cfform tag. ---> 
      <cfform> 
          <cfgrid name = "FirstGrid" format="html" 
              query = "GetCourses" autowidth="true"> 
                  <cfgridcolumn name="course_id" display="false" headermenu="false">
                  <cfgridcolumn name="dept_ID" headermenu="false" width="500">
                  <cfgridcolumn name="CorNumber" headermenu="false" width="80">
          </cfgrid> 
      </cfform>
      

       

      The appeareance of this HTML-grid varies between different browsers and platforms:

       

      Mac OS - Firefox 16.0

      mac-ff16.png

      Mac OS - Chrome 23.0.1271.64

      mac-chrome23.png

      Windows 2003 Server - Firefox 12.0

      W2k3-ff12.png

      Windows 2003 Server - Chrome 23.0.1271.64

      W2k3-chrome23.png

       

      There were no CSS changes made (default)...May be that the whitespace on the right side is a placeholder for a scrollbar, but in this case i don't need a scrollbar. My question: How can i remove the whitespace on the right site, so that the grid looks the same on any browser? (should look like the image "Mac OS - Chrome 23.0.1271.64")

       

      Thanks

       

       

      System information:

       

      Version     10,0,4,282462

      Tomcat Version     7.0.23.0

      Edition     Developer 

      Operating System     Windows 2003 

      OS Version     5.2 

      Update Level     /C:/ColdFusion10/cfusion/lib/updates/chf10000004.jar  (10.0.4)

      Adobe Driver Version     4.1 (Build 0001) 

       

      JVM Details:

      Java Version     1.6.0_29