mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-10-31 18:47:33 +08:00 
			
		
		
		
	This commit is contained in:
		| @ -198,7 +198,9 @@ | |||||||
|                 $grid.find(checkAllInput + (all ? ":not(:checked)" : ":checked")).prop('checked', all).change(); |                 $grid.find(checkAllInput + (all ? ":not(:checked)" : ":checked")).prop('checked', all).change(); | ||||||
|             }; |             }; | ||||||
|             initEventHandler($grid, 'checkRow', 'click.yiiGridView', "#" + id + " " + inputs, handler); |             initEventHandler($grid, 'checkRow', 'click.yiiGridView', "#" + id + " " + inputs, handler); | ||||||
|  |             if($grid.find(inputs).length) { | ||||||
|                 handler(); // Ensure "check all" checkbox is checked on page load if all data row checkboxes are initially checked. |                 handler(); // Ensure "check all" checkbox is checked on page load if all data row checkboxes are initially checked. | ||||||
|  |             } | ||||||
|         }, |         }, | ||||||
|  |  | ||||||
|         getSelectedRows: function () { |         getSelectedRows: function () { | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 PowerGamer1
					PowerGamer1