datagrid mass selection issue is fixed when no checkboxes for record is checked then master checkbox is also automatically unchecked
This commit is contained in:
parent
30a2031867
commit
4c3f70f60c
|
|
@ -266,6 +266,20 @@ class Product {
|
|||
}
|
||||
|
||||
public function findRepeated() {
|
||||
//find if there is duplicacy in the products grid here
|
||||
}
|
||||
|
||||
/**
|
||||
* Take action for attribute creation
|
||||
*/
|
||||
public function createColumnBasedOnAttribute($attribute) {
|
||||
dd($attribute);
|
||||
}
|
||||
|
||||
/**
|
||||
* Take action for attribute updatation
|
||||
*/
|
||||
public function updateColumnBasedOnAttribute($attribute) {
|
||||
dd($attribute);
|
||||
}
|
||||
}
|
||||
|
|
@ -222,7 +222,7 @@ abstract class DataGrid
|
|||
}
|
||||
}
|
||||
}
|
||||
dd($collection->toSql());
|
||||
|
||||
return $collection;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -654,7 +654,10 @@
|
|||
select() {
|
||||
this.allSelected = false;
|
||||
|
||||
this.massActionsToggle = true;
|
||||
if(this.dataIds.length == 0)
|
||||
this.massActionsToggle = false;
|
||||
else
|
||||
this.massActionsToggle = true;
|
||||
},
|
||||
|
||||
//triggered when master checkbox is clicked
|
||||
|
|
|
|||
Loading…
Reference in New Issue