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.

dataTable fail to order ascending

See original GitHub issue

hi I just try to follow this to create my data table. /examples/table-on-aggregated-data.html

but if i change to .order(d3.ascending) there is a js error

data-table.js:166 Uncaught TypeError: _chart.dimension(...).bottom is not a function

is that a known issue ? thanks

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
gordonwoodhullcommented, Jun 19, 2019

Added to the example and documentation.

1reaction
gordonwoodhullcommented, Jun 19, 2019

Thanks @privateOmega, good idea. The note on dataTable says that you can use a group but have to use d3.ascending.

I think I’ll create a “fake dimensions” section in the FAQ, and link to it from the docs. Then this issue can be closed: it’s really the best solution given the current architecture.

Fake dimensions FAQ: https://github.com/dc-js/dc.js/wiki/FAQ#fake-dimensions

Read more comments on GitHub >

github_iconTop Results From Across the Web

datatables default sort (asc/desc) not working - Stack Overflow
Male sure "id_user" field is of "int" data type in DB Table. And after that try using "aaSorting".
Read more >
Error when attempting to sort table columns - DataTables
This error occurs on any column that the user attempts to sort. Error is: jquery.dataTables.js:6129 Uncaught TypeError: Cannot create ...
Read more >
Google Visualization API Reference | Charts
The DataTable object is used to hold the data passed into a visualization. ... Returns the unique values in a certain column, in...
Read more >
lwc datatable with sorting of columns ascending and ...
Here I am creating lwc datatable with sorting the columns of Account Object by ascending and descending order in lightning web component ...
Read more >
Eloquent eager loading default order by cause SQL error #1781
Summary of problem I'm using laravel datatable 8.x, i've create new datatable query with eager loading, but datatable return this SQL error: ...
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