What kind of field is Employee? People Picker? Text? Something else?
I tried to duplicate what you are seeing but I am not seeing the same thing. When i refresh the data source, the data table refreshes.
Is this App inside a Solution? I also tested this with "Can be used offline" turned on in Settings.
I created the following on a screen. (you can use "Paste" - "Paste code <Preview>" to add these to a screen)
- con_TestDataGridFilter:
Control: GroupContainer
Variant: manualLayoutContainer
Properties:
Height: =636
Width: =1112
X: =40
Y: =40
Children:
- btn_Refresh:
Control: Classic/Button
Properties:
OnSelect: =Refresh('Shared Timesheet data');
Text: ="Refresh"
X: =675
Y: =20
- dd_employee_R:
Control: Classic/DropDown
Properties:
Items: =["","Mark","Tom"]
X: =53
Y: =20
And the DataTable which I was surprised to see I can not add to a Container:
- dt_TimesheetData:
Control: DataTable
Variant: datatable
Properties:
Items: =If(IsBlankOrError(dd_employee_R.Selected.Value),'Shared Timesheet data',Filter('Shared Timesheet data',Employee=dd_employee_R.Selected.Value))
X: =85
Y: =125
Children:
- Employee_Column2:
Control: DataTableColumn
Variant: textualColumn
Properties:
FieldDisplayName: ="Employee"
Order: =3
Text: =ThisItem.Employee
- Title_Column2:
Control: DataTableColumn
Variant: textualColumn
Properties:
FieldDisplayName: ="Title"
Order: =2
Text: =ThisItem.Title
- ID_Column2:
Control: DataTableColumn
Variant: textualColumn
Properties:
FieldDisplayName: ="ID"
Order: =1
Text: =ThisItem.ID
Everything worked as expected.
Maybe exit the App and come back in?
-Mark