Bulk Actions #411
Unanswered
22syamsudar
asked this question in
Q&A
Replies: 1 comment
-
The 0, 1, 2, 3 in front of it is only an index, you can still use it as normal. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I try to dd($this->selectedKeys) but it returns
=> [
0=> 1,
1=> 2,
2=> 3,
3=> 4,
]
how to return like below?
public function exportSelected()
{
if (count($this->selectedKeys)) {
// Do something with the selected rows
dd($this->selectedKeys);
// => [
// 1,
// 2,
// 3,
// 4,
// ]
}
}
Beta Was this translation helpful? Give feedback.
All reactions