Jump to content

UniDBGrid WebOptions


Kurt

Recommended Posts

Hi,

how to override the UniDBGrid.WebOptions.Paged behavior? 

for example if i clicked the next page of the grid, i want to execute my query and pass the limit and offset coming from the grid?

thank you..

Link to comment
Share on other sites

hi,

 

sorry for not clear explanation. i want to utilize the paged options of unidbgrid. for example in my query:
 

SELECT * FROM products LIMIT :limit,25

so when i clicked the Next Page of the UniDBGrid, i want to re-execute my query using the new start parameter and apply it to :limit paramter.

image.thumb.png.c629a230faedc3019c3164da7f136475.png

Link to comment
Share on other sites

4 hours ago, Kurt said:

Oi,

 

desculpe por não ter uma explicação clara. Eu quero utilizar as opções paginadas do unidbgrid. por exemplo na minha consulta:
 

então quando eu cliquei no Próxima página do UniDBGrid, quero reexecutar minha consulta usando a nova começar parâmetro e aplique-o a :limite paramter.

image.thumb.png.c629a230faedc3019c3164da7f136475.png

You shouldn't do this on unidbgrid
I did it manually by putting forward and backward buttons and manually controlling
I be I made my own controls don't expect everything from unigui when you can make it yourself
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...