|
I want to further shrink these dimensions, please show me how to achieve this! |
We have internally set the Minimum width and height for GridFilterControl, if you shrink means the look and feel of GridFilterControl is not good, Did you need that? |
|
I do not see filtertype.notcontains, does this function exist? Do I need to perform the override search function as you shown? |
Already we have a DoesNotContains filter type in TextFilter, please find the below UG link,
|
|
sfDataGrid1.Columns["CustomerID"].FilterPredicates.Add(new FilterPredicate() { FilterType = FilterType.NotContains, FilterValue = "ANATR",FilterBehavior=FilterBehavior.StringTyped });
|
|
private void SfDataGrid1_QueryCellStyle(object sender, QueryCellStyleEventArgs e)
{
if(e.DisplayText =="Thomas Hardy")
{
e.Style.Borders.All = new GridBorder(GridBorderStyle.Dotted, Color.Blue, GridBorderWeight.Thin);
e.Style.Borders.All = new GridBorder(GridBorderStyle.Dotted, Color.Blue, GridBorderWeight.Thin);
}
}
|
|
//TextButtonColumn
this.sfDataGrid.Columns.Add(new GridTextButtonColumn() { MappingName = "CustomerID", Width = 140});
|
Hello,
I am also looking to shrink the width and height of the GridFilterControl to a smaller size. Currently it is larger than the theme of my application and does not look and feel congruent with the application.
Can you please let me know how to achieve this?
Thanks,
Pat
Hi
Pat,
To ensure that the filter control features are displayed correctly in the
FilterPopup, we have set a minimum width of 298 and a minimum height of 448 for
the GridFilterControl. We regret to inform you that it is not possible to
reduce the size of the GridFilterControl below these minimum dimensions.
Regards,
Vijayarasan S