Checkbox Column (showSelect: false)
xxJeevesxx opened this issue · comments
Love the package, thanks for creating it! I'm trying to remove the checkbox column.I try to disable the checkbox something I didn't expect happens. I see that showSelect maps to showCheckboxColumn in your implementation however it also removes the header along the top and the checkbox column doesn't actually disappear. Am I just missing something? I haven't played with the Flutter DataTable yet so maybe it happens there too. Any thoughts?
Edit: spelling
Ok that’s weird, I thought I fixed that! I’ll double check today 👍🏼
Did you check with the latest?
Ok I think it is a bug 👍🏼
For the DataRow you need to also remove:
onSelectChanged: (bool value) {
if (dessert.selected != value) {
setState(() {
dessert.selected = value;
});
}
},
Ah, I see it now, thanks. Bummer though, I was hoping to be able to have an onTap like function for the row without having the checkbox. Any thoughts on that? Maybe I’ll have to figure that out on my own :).
Thanks again for your help and quick response. :)