I have a janus grid version3.5 in a Win Form. How to set focus on a column in Filter Row?
Asked
Active
Viewed 726 times
1 Answers
0
GridEXRow FRow = grdTest.FilterRow;
if (FRow != null)
{
grdTest.Row = FRow.RowIndex;
grdTest.Col = grdTest.RootTable.Columns["ColumnName"].Index
}
If you want to filter the grid with any specific value then :
grdTest.Row = grdTest.FilterRow.Position;
grdTest.SetValue("ColumnName", "FilterValue");

Makesh
- 335
- 4
- 15
-
very thanks ,i want when focus gone on filter , user can type her value – hasan110 Sep 12 '19 at 12:23
-
@hasankahrizi Go to the GridEx properties and then set the column FilterEditType = TextBox – Makesh Sep 12 '19 at 12:29
-
this propertis was set but when focus gone can not type any values – hasan110 Sep 12 '19 at 14:08
-
but need grdTest.Focus(); after yor code please edit this @makesh-arinha-valappil – hasan110 Oct 21 '19 at 10:01