This is a migrated thread and some comments may be shown as answers.

Grid is not working inside -moz-box div in firefox

0 Answers 61 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Duna
Top achievements
Rank 1
Duna asked on 23 Apr 2012, 09:52 AM
 Grid is not working inside -moz-box div in firefox, in chrome is working great. My code is:


 <div class="header flexbox" onclick= "HeaderClick('@Url.Content("~/")')">
  <div id="myGrid" ></div>
      <div id="leftlogo">
      </div>
      <div id="middlelogo">
      </div>
      <div id="rightlogo">
      </div>
   </div>


<script>
          $("#myGrid").kendoGrid({
              pageable: true,
              autoBind: false,
              groupable: true,
              selectable: true,
              sortable: true,
              columns: [
               { title: "ID", field: "ID" },
               { title: "Description", field: "Description" },
               { title: "Created By", field: "CreatedBy" },
               { title: "Creation Date", field: "CreationDate" }
            ]
          }); 
</script>

As i saw the width and height percentages cannot be controlled in firefox when flexbox is present. As you see i have the grid inside of flexbox. And the width should ocuppy the entire content of the component that you put in(this is done by design to have width:100%). Is this a way/trick to have kendogrid look as in chrome? See attached picture for details

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Duna
Top achievements
Rank 1
Share this question
or