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

    cfgrid widths in ColdFusion 10 on different platforms/browsers


      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 
      <h3>cfgrid Example</h3> 
      <i>Currently available courses</i> 
      <!--- cfgrid must be inside a cfform tag. ---> 
          <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">


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


      Mac OS - Firefox 16.0


      Mac OS - Chrome 23.0.1271.64


      Windows 2003 Server - Firefox 12.0


      Windows 2003 Server - Chrome 23.0.1271.64



      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")





      System information:


      Version     10,0,4,282462

      Tomcat Version

      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