Answer the question
In order to leave comments, you need to log in
Dexie: How to add to the beginning of the table?
Good time of the day!
I need to add an element to the beginning of the table, I can't find methods for that.
I add to the horses like this:
var newTab = tabs.add({}, tabs.getIndex(tabs.getSelected()) + 1)
tabs.add({}, 0)
tabs.add({})
tabs.put({})
Answer the question
In order to leave comments, you need to log in
I need to add an element to the beginning of the tableThe table has no beginning or end. It's on the list. Therefore, you need to add a column to the table by which the rows will be sorted.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question