Hi all,
I feel I'm missing the obvious, but what component will you use to display a short sorted list and keep it sorted when adding/deleting items ?
My first thought went to list + listview coupled with type declaration to manage all the infos related to an item. Then I thought that list + customlistview could have been more flexible.
But both listview and clv doesn't let me simply select-only an item (short of programming their itemclick methods) so I could later use a few buttons to decide which action to apply.
Another option could be to attach a pop-up menu to the itemclick event; I don't know.
A few more details to help you suggest me for the best:
- the list will contain at most 10/15 items
- the user will add new item compiling a very short form then hit an "Add" button to insert that new item in its proper position in the list
- the user should be able to modify or delete an existing item (so the idea to simply select it)
- available space is at minimum so scrolling will be a must
I understand that I described a mini-CRUD system where a table will fit ok, but won't a table be too much for such simple situation?
So, what will you use in such a situation? TIA.
I feel I'm missing the obvious, but what component will you use to display a short sorted list and keep it sorted when adding/deleting items ?
My first thought went to list + listview coupled with type declaration to manage all the infos related to an item. Then I thought that list + customlistview could have been more flexible.
But both listview and clv doesn't let me simply select-only an item (short of programming their itemclick methods) so I could later use a few buttons to decide which action to apply.
Another option could be to attach a pop-up menu to the itemclick event; I don't know.
A few more details to help you suggest me for the best:
- the list will contain at most 10/15 items
- the user will add new item compiling a very short form then hit an "Add" button to insert that new item in its proper position in the list
- the user should be able to modify or delete an existing item (so the idea to simply select it)
- available space is at minimum so scrolling will be a must
I understand that I described a mini-CRUD system where a table will fit ok, but won't a table be too much for such simple situation?
So, what will you use in such a situation? TIA.
Last edited: