EasyUI Forum

General Category => Bug Report => Topic started by: evertonsena on July 14, 2011, 07:36:34 AM



Title: $('#a').datagrid('hideColumn','code.promo')‏
Post by: evertonsena on July 14, 2011, 07:36:34 AM
Hello,
My name is Everton Sena and I live in Brazil. Sorry for my bad English.

First I want to congratulate you for the excellent team EASY-UI.

The use of hideColumn method does not work when the column contains a field dot.
Example: $ ('# a'). datagrid ('hideColumn', 'code.promo');

The error is this: uncaught exception: Syntax error, unrecognized expression: [field=code.promo]

This occurs only in version 1.2.4.
In version 1.2.3 works!

Thanks!


Title: Re: $('#a').datagrid('hideColumn','code.promo')‏
Post by: stworthy on July 14, 2011, 06:48:59 PM
Change your jQuery version to 1.4.4 or update your datagrid plugin from http://www.jeasyui.com/easyui/plugins/jquery.datagrid.js.


Title: Re: $('#a').datagrid('hideColumn','code.promo')‏
Post by: evertonsena on July 15, 2011, 08:51:55 AM
Change your jQuery to version 1.4.4, Solved!

Failure to use the new features the latest version of jQuery and that's a shame!

Thanks