What steps will reproduce the problem?
1. make datagrid with CGridView and define checkbox column with
selectableRow >1 (multiple checked)
2. datagrid looks fineas expected, but when i will clicking main checkbox
in filterRow fo multiple checkbox , checkboxes in table body will be
checked/uncheked, all is fine, but i think that their parents table rows
(tr tag )should have also class 'selected', but it's not activated, this
tag applying only when i clicked checkbox in tbody section (maybe it's so
plan but i think it's bug )
What version of the product are you using? On what operating system?
trunk
Please provide any additional information below.
i see CCheckBoxColumn and have seen that class 'selected' manipulation does
not applying when clicked filterCheckBox
I guess in method init() of this class (string 73-75) where is generating
js should be something like that
///code
........
var checked=jQuery(this).is(':checked');
var rowSelector=jQuery('table').has(this).find('tbody>tr');
if(checked===true) rowSelector.addClass('selected');
else rowSelector.removeClass('selected');
jQuery("input[name='$name']").each(function() {
.....
///end code
and it will work as I expected
sorry for terrible english
Original issue reported on code.google.com by rommu...@gmail.com on 25 Mar 2010 at 9:29
Original issue reported on code.google.com by
rommu...@gmail.com
on 25 Mar 2010 at 9:29