Hide Hide/show columns

471 views
Skip to first unread message

markosca

unread,
Feb 8, 2012, 10:25:07 AM2/8/12
to Flexigrid for jQuery
Hello,

I need hide the button that alloy hide/show columns, but i don't know
how can i do....

Moreover, i have some tables and works fine in all navigators except
IE7. I've tried to change a lot of things but it doesn't work.

Some idea?

Thanks in advance

Marcos

unread,
Feb 9, 2012, 3:29:10 AM2/9/12
to Flexigrid for jQuery
Add parameter

showToggleBtn: true

Example:

$("#flexme").flexigrid({
url: 'ajax.php',
dataType: 'json',
colModel: [ { display : 'ID', name : 'id', width : 40, sortable :
true, align : 'center' },
{ display : 'Key'), name : 'key', width : 150, sortable : true,
align : 'left' },
{ display : 'Name', name : 'name', width : 300, sortable : true,
align : 'left' }
],
useRp : true,
usepager : true,
rp : 15,
showToggleBtn: true
});

Marcos

unread,
Feb 9, 2012, 3:30:34 AM2/9/12
to Flexigrid for jQuery
Sorry, there is an error in my example
After the string Key in colModel, there is a ')', remove it...
sorry :-)
> > Thanks in advance- Ocultar texto de la cita -
>
> - Mostrar texto de la cita -

Marcos

unread,
Feb 9, 2012, 3:35:29 AM2/9/12
to Flexigrid for jQuery
Ooooops, sorry again
The correct parameter value is false

showToggleBtn: false

I didn't read very well your message... :-))))
> > - Mostrar texto de la cita -- Ocultar texto de la cita -

markosca

unread,
Feb 9, 2012, 3:42:31 AM2/9/12
to Flexigrid for jQuery
Perfect!!!

I have tried yet and it works perfectly.

Thanks a lot!
Marcos.

markosca

unread,
Feb 9, 2012, 4:13:40 AM2/9/12
to Flexigrid for jQuery
Sorry Marcos,

I have another question. I have some tables as this:
<div class="sigec_backoffice_filtro_seccion_azul">
<table class="flexigrid" id="flexigrid"><tr><td></td></tr></table>
</div>

and works fine in FF,IE8 and 9 but in IE7, the first time flexigrid
loads the data correctly, but if I search, or sort o something that do
a post, the table doesn't show any data.

What can I do?
Thanks
Message has been deleted

Brant

unread,
Jun 19, 2012, 3:01:27 PM6/19/12
to flex...@googlegroups.com
Try removing " <tr><td></td></tr> " from the table.
Reply all
Reply to author
Forward
0 new messages