Njiua
New member
- Joined
- Oct 4, 2021
- Messages
- 2
- Programming Experience
- Beginner
Hey Guys,
For a database project I'm planning to make a datagrid filled with information. After the datagrid is filled in I'd like to filter it and export it to a PDF.
By now I've got a working datagrid, a button which allows me to manually add new rows and an export button which export the datagrid to PDF.
(I'll upload my code when I get home)
What I'd like to do is put a dropdown menu within the datagrid to sort the data, per example:
--------------------------------------------------------------------------------------------------------------------------------------------------------------
I've got a few LP's, CD's, DVD's and games. In my dropdown I'm able to choose what media the file uses.
see the image
the goal is that if I export my data right now, that instead of one datagrid with all data my PDF file contents 3 grids. one per media
I was thinking to do something as:
if (media == LP)
export datagrid1 blablabla
if (media == game)
export datagrid2 underneath datagrid 1
etc etc
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Is there someone who might be able to give me a push in the right direction?
I'd love to be able to finish this project
kind regards!
For a database project I'm planning to make a datagrid filled with information. After the datagrid is filled in I'd like to filter it and export it to a PDF.
By now I've got a working datagrid, a button which allows me to manually add new rows and an export button which export the datagrid to PDF.
(I'll upload my code when I get home)
What I'd like to do is put a dropdown menu within the datagrid to sort the data, per example:
--------------------------------------------------------------------------------------------------------------------------------------------------------------
I've got a few LP's, CD's, DVD's and games. In my dropdown I'm able to choose what media the file uses.
see the image
the goal is that if I export my data right now, that instead of one datagrid with all data my PDF file contents 3 grids. one per media
I was thinking to do something as:
if (media == LP)
export datagrid1 blablabla
if (media == game)
export datagrid2 underneath datagrid 1
etc etc
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Is there someone who might be able to give me a push in the right direction?
I'd love to be able to finish this project
kind regards!