EasyUI Forum

General Category => Bug Report => Topic started by: kiempq on January 07, 2014, 07:06:38 PM



Title: DataGrid:CheckBox select on DataGrid ==> can't remove checkbox
Post by: kiempq on January 07, 2014, 07:06:38 PM
Hi all.

I have a bug.
This is demo: http://www.jeasyui.com/tutorial/datagrid/datagrid10_demo.html
After:
1. Click to header checkbox ( check all row )
2. Click next page.
3. Click remove check all row. But check on row can't not remove checked.

Please!!! fix bug help me.


Title: Re: DataGrid:CheckBox select on DataGrid ==> can't remove checkbox
Post by: stworthy on January 07, 2014, 07:43:18 PM
It is fixed by setting correct 'url' and 'pagination' properties. Please try it again.


Title: Re: DataGrid:CheckBox select on DataGrid ==> can't remove checkbox
Post by: kiempq on January 07, 2014, 07:51:41 PM
Hi stworthy,
http://www.jeasyui.com/tutorial/datagrid/datagrid10_demo.html

still error:
1. Click to header checkbox ( check all row )
2. Click next page.
3. Click preview page.
4. Click remove check all row. But check on row can't not remove checked.


Title: Re: DataGrid:CheckBox select on DataGrid ==> can't remove checkbox
Post by: stworthy on January 08, 2014, 12:44:57 AM
Due to the browser cache issue, the js library may remain its old status. Please refresh your page again or download the updated datagrid plugin from http://www.jeasyui.com/easyui/plugins/jquery.datagrid.js.


Title: Re: DataGrid:CheckBox select on DataGrid ==> can't remove checkbox
Post by: kiempq on January 08, 2014, 01:50:59 AM
Due to the browser cache issue, the js library may remain its old status. Please refresh your page again or download the updated datagrid plugin from http://www.jeasyui.com/easyui/plugins/jquery.datagrid.js.

Okie. This proplem is fixed. Thanks for support. But, i used jquery.easyui.min.js, now i download and update file jquery.easyui.min.js is ok?


Title: Re: DataGrid:CheckBox select on DataGrid ==> can't remove checkbox
Post by: stworthy on January 08, 2014, 01:54:53 AM
If you are using 'jquery.easyui.min.js' file on the site, be sure to use the corresponding theme file together, it can be downloaded from http://www.jeasyui.com/easyui/themes/default/easyui.css.


Title: Re: DataGrid:CheckBox select on DataGrid ==> can't remove checkbox
Post by: kiempq on January 08, 2014, 02:07:29 AM
If you are using 'jquery.easyui.min.js' file on the site, be sure to use the corresponding theme file together, it can be downloaded from http://www.jeasyui.com/easyui/themes/default/easyui.css.
I used them metro downloaded from http://www.jeasyui.com/download/v135.php is ok ?


Title: Re: DataGrid:CheckBox select on DataGrid ==> can't remove checkbox
Post by: stworthy on January 08, 2014, 02:21:20 AM
Include only the datagrid plugin.
Code:
	<link rel="stylesheet" type="text/css" href="../../themes/metro/easyui.css">
<script type="text/javascript" src="../../jquery.min.js"></script>
<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
<script type="text/javascript" src="http://www.jeasyui.com/easyui/plugins/jquery.datagrid.js"></script>

Or use all the files on the site.
Code:
	<link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/metro/easyui.css">
<script type="text/javascript" src="../../jquery.min.js"></script>
<script type="text/javascript" src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script>


Title: Re: DataGrid:CheckBox select on DataGrid ==> can't remove checkbox
Post by: kiempq on January 08, 2014, 02:32:47 AM
Okie, Thank so much !!!