Forums › Forums › Superbase NG Personal › Detail block filter
Tagged: detail block, filter, wish list
- This topic has 4 replies, 3 voices, and was last updated 7 years, 5 months ago by jaszczak.
- AuthorPosts
- August 2, 2016 at 1:50 pm #3407jaszczakParticipant
Here is something for the long term wish list in Personal. Sometimes it is helpful, after examining the entries in a detail block, to be able to filter those entries and show only a subset of items in the detail block. Superbase had this capability.
For example, on a form with a detail block that shows all table entries with a record City = Columbus, we may wish to filter the table so that the detail block subsequently only shows records that also have State = Ohio,
since there are many states with a City = Columbus.August 15, 2016 at 6:03 pm #3408MichaelKeymasterInteresting idea. I am not convinced about doing it the way Superbase did, however. It may be worth think about a whole different type of view element that allows this and other types of manipulation. Definitely worth brainstorming about here on the forum though.
February 21, 2017 at 3:17 pm #3483JD KromkowskiParticipantSort of related. I’d like
1) to change sort order on detail block on fly – I know I wrote code in SB to do this but can’t find where and obviously needs to be done slightly differently in SIMPOL. Any code out there?
2) Searching through detailblocks, like the filtergui. In SB, I’d do the search and then load a dialog with list to choose from basically what the filtergui does but only applied to the currently linked detailblock data. Before I go do a rabbit hole – what has been the consensus or thoughts on how best to do this.
April 10, 2017 at 12:11 pm #3496MichaelKeymasterHi John,
It should be possible to change the detail block sort order and then call a method to repopulate the detail block. I will have a look at what that involves.
As for the searching concept, it is completely possible to create a form with an unlinked detail block and then populate that using a filter. This could then be shown in a dialog for example.
Ciao, Neil
April 14, 2017 at 2:11 am #3499jaszczakParticipantMight you include a example form with an unlinked detail block in the next release of the Business project?
- AuthorPosts
- You must be logged in to reply to this topic.