Skip to content

Pagination on raw table and custom sql query with MS SQL Server #14208

Closed Answered by EvanGllt
EvanGllt asked this question in Help
Discussion options

You must be logged in to vote

Hi,

I found out how to do it.

Here's how I did it for people who are interested :

For my SQL query I added a DISTINCT after SELECT :

I have this component tree :

That's bindings there :

This line in javascript for offset :

For the Back Button :


For the Next Button :


And for Page Field :

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
7 replies
@EvanGllt
Comment options

@ConorWebb96
Comment options

@EvanGllt
Comment options

@ConorWebb96
Comment options

@EvanGllt
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by EvanGllt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
bb-sql actions Relating to Budibase app actions bb-bindings
2 participants