Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
143784 | Apr 4,2019 05:39 PM UTC | Apr 5,2019 01:35 PM UTC | Xamarin.Forms | 1 |
![]() |
Tags: SfDataGrid |
[C#]
internal void LoadMoreItems(string searchbarText)
{
if (searchbarText is string && searchbarText != "")
{
foreach (var item in OrdersInfo)
{
if (item.CustomerID.ToLower().Contains(searchbarText.ToLower()))
dataGridCollection.Add(item);
}
}
else
{
var collection = OrdersInfo.Skip(20).Take(30);
foreach (var item in collection)
{
dataGridCollection.Add(item);
}
}
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.