question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

erratic behaviour on custom table header

See original GitHub issue

When using this:

<template slot="HEAD_selected" scope="data">
	<input type="checkbox" v-model="allSelected">
	{{allSelectedCheckbox}}
</template>

The checkbox won’t change. If I move the checkbox outside of the table it works fine.

It seems the problem is related to the column sorting. I have disabled it for that column but I still get an erratic behaviour as you can see here. Don’t mind the hand cursor, I have enabled it for the table with CSS.

2017-06-30 01_16_53

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
alexsasharegancommented, Jun 30, 2017

@PierBover, I believe you can even get as terse as @click.stop

2reactions
tmorehousecommented, Jun 30, 2017

The example is a prototype of b-table. I’ll be making an updated fiddle for the docs which includes the new features, which will include an example using checkboxes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How should I make custom table behavior more accessible?
My team and I are building a web-app for a customer who has requested custom functionality pertaining to data-tables: upon clicking the header...
Read more >
Tables with Irregular Headers | Web Accessibility Initiative (WAI)
This page covers tables with header cells that span multiple columns and/or rows. Several elements and attributes can be used to define the...
Read more >
HTML table advanced features and accessibility
It will appear below the table header or sometimes footer, depending on how you decided to structure it.
Read more >
Unable to Change Header Text Color in Table Style
Right-click on my custom table style and select Modify Table Style. In the Modify Style pop-up, I select a custom text color and...
Read more >
Making Tables With Sticky Header and Footers Got a Bit Easier
It wasn't long ago when I looked at sticky headers and footers in HTML s in the blog post A table with both...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found