BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
private void gridDataBoundGrid1_CurrentCellAcceptedChanges(object sender, CancelEventArgs e) { GridCurrentCell cc = this.gridDataBoundGrid1.CurrentCell; if(cc.RowIndex == 1) { cc.MoveTo(this.gridDataBoundGrid1.Model.Rows.FrozenCount + 1, cc.ColIndex); this.gridDataBoundGrid1.Binder.CurrentPosition = 0; } }>How to avoid the click events on the filter combo box. > You can set the cell''s style.Enabled = false.
this.gridDataBoundGrid1[1,1].Enabled = false;
this.gridDataBoundGrid1.CurrentCell.ResetCurrentCellWithoutDeactivate(); //in case 1,1 is the currentcell
>How to restrict the filter combo box to filtering only.
>
I am not sure what you mean by this question. How can I see the behavior you want to avoid in the FilterBar sample we ship.
>As I seen, after filtering if I click the check box which is a immediate row of the filter, the filter custom filter is popping up every time I click the check box.
>
>How to avoid such a unwanted event.
>
So, you have added a checkbox to a cell in the filterbar row? Are you handling GridFilterBarCreatingColumnHeader, and returning e.Cancel = true to tell the grid not to put a FilterBar cell on this column?
If that does not solve the problem, can you post a sample showing the problem so we can look at it here.
>private void gridDataBoundGrid1_CurrentCellAcceptedChanges(object sender, CancelEventArgs e) >{ > GridCurrentCell cc = this.gridDataBoundGrid1.CurrentCell; > if(cc.RowIndex == 1) > { > cc.MoveTo(this.gridDataBoundGrid1.Model.Rows.FrozenCount + 1, cc.ColIndex); > this.gridDataBoundGrid1.Binder.CurrentPosition = 0; > } >} >> >>How to avoid the click events on the filter combo box. >> > >You can set the cell''s style.Enabled = false. >
>this.gridDataBoundGrid1[1,1].Enabled = false;
>this.gridDataBoundGrid1.CurrentCell.ResetCurrentCellWithoutDeactivate(); //in case 1,1 is the currentcell
>
>
>>How to restrict the filter combo box to filtering only.
>>
>
>I am not sure what you mean by this question. How can I see the behavior you want to avoid in the FilterBar sample we ship.
>
>
>>As I seen, after filtering if I click the check box which is a immediate row of the filter, the filter custom filter is popping up every time I click the check box.
>>
>>How to avoid such a unwanted event.
>>
>So, you have added a checkbox to a cell in the filterbar row? Are you handling GridFilterBarCreatingColumnHeader, and returning e.Cancel = true to tell the grid not to put a FilterBar cell on this column?
>
>If that does not solve the problem, can you post a sample showing the problem so we can look at it here.