";
+
+ gridviewSearch.AddCssClass("gridview-search");
+ gridviewSearch.InnerHtml = $@"
+
+
+
+
+
";
+
+ gridviewHeader.InnerHtml+= gridviewSearch.ToString();
+
+ // Close col-sm-6
+ gridviewHeader.InnerHtml+= "
";
+
+ if (filterPartial != null)
+ {
+ gridviewHeader.InnerHtml += filterPartial.Invoke();
+ }
+ else
+ {
+ gridviewHeader.InnerHtml += @"
";
+ }
+
+ gridviewHeader.InnerHtml+="
";
+ //End of GridView Header
+ gridview.InnerHtml += gridviewHeader;
+
+ //Gridview ViewPort
+ gridviewViewport.AddCssClass("gridview-viewport");
+ gridviewViewport.Attributes.Add("id", "viewport");
+ gridviewViewport.Attributes.Add("data-getdata-function", readUrl);
+ gridviewViewport.InnerHtml+= @"