andycrespo27 / flexigrid

Automatically exported from code.google.com/p/flexigrid
0 stars 0 forks source link

Problem with tables in IE8 #40

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I had a problem only with IE8 when I tried apply flexgrid in a table :

$(".tableequipamentos").flexigrid({
                  title: 'Cadastro de Equipamentos',
                  width: '300',
                  height: '100',
                  resizable: false,
                  singleSelect:true,
                  showToggleBtn: false, 
                  colModel : [

                              {display: 'Equipamento', name : 'equipamento', width : 80, sortable : false, align: 'left'},
                              {display: 'Localidade', name : 'localidade', width : 80, sortable : false, align: 'left'},
                              {display: 'Editar', name : 'editar', width : 35, sortable : false, align: 'center'},
                              {display: 'Excluir', name : 'excluir', width : 35, sortable : false, align: 'center'}

                            ],

                  buttons : [
                                {name: 'Adicionar', bclass: 'add', onpress : AdicionaEquipamento},
                                ]

              });
              ///Fim Grid de Equipamentos

The solution was (line 753):

From : if (!btn.separator) {

To : if ((btn) && (!btn.separator)) {

Regards

Original issue reported on code.google.com by deivid.b...@gmail.com on 1 Jun 2011 at 4:18