DataTable in PowerApp

%3CLINGO-SUB%20id%3D%22lingo-sub-1013848%22%20slang%3D%22en-US%22%3EDataTable%20in%20PowerApp%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1013848%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20using%20datatable%20in%20powerapp%2C%20the%20data%20source%20a%20sharepoint%20list.%20I%20am%20not%20able%20to%20use%20functions%20like%20search%2C%20sort%2C%20sortbycolumn%20etc..%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIncase%20of%20Search%20I%20am%20getting%20%22datatype%20unsupported%20for%20evaluation%22%20error.%3C%2FP%3E%3CP%3EIncase%20of%20SortByClumn%20I%20am%20getting%20%22has%20invalid%20arguments%22%20error.%26nbsp%3B%3C%2FP%3E%3CP%3EScreen%20shot%20attached%2C%20somebody%20please%20help.%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1013848%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPowerApps%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

I am using datatable in powerapp, the data source a sharepoint list. I am not able to use functions like search, sort, sortbycolumn etc..

 

Incase of Search I am getting "datatype unsupported for evaluation" error.

Incase of SortByClumn I am getting "has invalid arguments" error. 

Screen shot attached, somebody please help.

 
2 Replies
The first one appears that your textfind control isn’t a textbox control. What kind of control is that?

The second screenshot you are invoking on an onselect which you can’t do. You need to use sort by columns in an items property or when setting a collection etc. if you are trying to make a sort on a select then you have to set a variable and then use a switch it if statement in the items referencing that variables value to set the items in the table.

@Chris Webbthanks for the response, txtfind  is a textbox. Refer the screenshot.