(checked)
| 2177 | var options = that.config; |
| 2178 | var checkAllElem = that.layHeader.find('input[name="layTableCheckbox"]'); |
| 2179 | var syncColsCheck = function (checked) { |
| 2180 | that.eachCols(function (i, item) { |
| 2181 | if (item.type === 'checkbox') { |
| 2182 | item[options.checkName] = checked; |
| 2183 | } |
| 2184 | }); |
| 2185 | return checked; |
| 2186 | }; |
| 2187 | var checkStatus = table.checkStatus(that.key); |
| 2188 | |
| 2189 | if (!checkAllElem[0]) return; |