Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onAdd() function how to add at the top of the table #23

Open
MAYSACOLS opened this issue Dec 16, 2022 · 0 comments
Open

onAdd() function how to add at the top of the table #23

MAYSACOLS opened this issue Dec 16, 2022 · 0 comments

Comments

@MAYSACOLS
Copy link

Hello, I'm a beginner in js.

I Use this example :
`new BSTable("basic-edit", {

    $addButton: $('#new-row-button'),
    onAdd: function () {
        bNewRow = true;
    },`

but when I add a new line it's at the bottom of the table, how to do for having it at the first line ?

thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant