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.

No default table class

See original GitHub issue

Could it be possible to pass in the classes for a bootstrap table but having no default? Something like:

<datatable class="table table-bordered" :columns="columns" :data="rows" :filter-by="filter"></datatable>

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
SerGioPicconticommented, Jan 24, 2019

add this code after import vue-datatable and before vue.use(DatatableFactory) in main app.js:

DatatableFactory.useDefaultType(false)
	.registerTableType('datatable', function(table_type){
		table_type.mergeSettings({
			table: {
				class: '',
			}
		});
	}
);
0reactions
GerkinDevcommented, Mar 12, 2019

Closed by v2.0.0-alpha.0. Check the appropriate README section

Read more comments on GitHub >

github_iconTop Results From Across the Web

Should you have defaults styles for `table`? | CSS-Tricks
In our base templates we currently have no styles being applied to tables by default. You need a class to get it looking...
Read more >
tables() fails: argument "..." is missing, with no default #5197
table that tables() returns seems to not be unique'i'fiable by data.table. :) because, i guess, of the list of column names.
Read more >
NO DEFAULT TABLE
The NO DEFAULT TABLE command is used to cancel the effect of the DEFAULT TABLE command. After this command is executed, there is...
Read more >
python - Class does not have a table or tablename specified ...
UserRemap'> does not have a __table__ or __tablename__ specified and does not inherit from an existing table-mapped class. Any thoughts on how to...
Read more >
Tables - Bootstrap
Use contextual classes to color table rows or individual cells. Class, Heading, Heading. Active, Cell, Cell. Default, Cell, Cell. Primary, Cell ...
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