SharePoint 365 – Power Apps

,

SortByColumns (sort by title, and date )and Search code:

SortByColumns(
SortByColumns(Search('Válogatott eseti kutatások';KeresBox.Text;"Title";"field_1";"Kateg_x00f3_ria";"field_2") ;"Title";SortOrder.Ascending) ;
"D_x00e1_tum";
SortOrder.Descending)

Search:
Search('Válogatott eseti kutatások';KeresBox.Text;"Title";"field_1";"Kateg_x00f3_ria")

Sortby:
SortByColumns('Válogatott eseti kutatások';"D_x00e1_tum";SortOrder.Descending)

Power Apps SortByColumns and Sort function with a custom sort order

Sort by Date in PowerApps

Power Apps Search

Power Apps Search and Filter Functions on Large SharePoint Lists

PowerApps Search and Filter Functions

###############################################

Search('Válogatott eseti kutatások';KeresBox.Text;"Title";"field_1")

Érdekesség, a field_1, több soros.
Ékezetes oszlopnevek nem jöttek fel, ezért ezeket a ‘field_’ nevűeket próbáltam.

###############################################
Can you highlight the selected record in a Gallery
https://powerusers.microsoft.com/t5/Building-Power-Apps/Can-you-highlight-the-selected-record-in-a-Gallery/td-p/9877

If(ThisItem.Title=Gallery6.Selected.Title;
RGBA(186; 202; 226; 1);
RGBA(255; 255; 255; 1)
)

###############################################

megjegyzés: StartsWith nem jó, csak a text elejét nézi

Filter(
'Válogatott eseti kutatások';
StartsWith(Title;
KeresBox.Text
) ||
StartsWith('kulcsszavak';
KeresBox.Text
)
)

###############################################