We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

GridFilterBar

Thread ID:

Created:

Updated:

Platform:

Replies:

96613 Sep 22,2010 08:53 AM Sep 28,2010 02:30 AM Windows Forms 5
loading
Tags: GridControl
Ramon Bernert
Asked On September 22, 2010 08:53 AM

Hi,
is it possible to set the GridFilterBar-CellValues by Code?

GridDataBoundGrid1[1, 1].CellValue = "test"

Thanks,
Ramon


Jisha Joy [Syncfusion]
Replied On September 23, 2010 05:59 AM

Hi Ramon,

Yes, You could set values to the filter cells too. The filter bar will at rowindex 1.

Regards,
Jisha


Ramon Bernert
Replied On September 23, 2010 07:16 AM

Yes, but the filter isn't refreshed.


Jisha Joy [Syncfusion]
Replied On September 24, 2010 01:34 AM

Hi Ramon,

You could achieve the desired behavior by using the following code:

this.gridDataBoundGrid1.CurrentCell.MoveTo(GridRangeInfo.Cell(1, 2));
this.gridDataBoundGrid1.CurrentCell.Renderer.ControlText = "S04";
this.gridDataBoundGrid1.CurrentCell.IsModified = true;
this.gridDataBoundGrid1.CurrentCell.ConfirmChanges();

Regards,
Jisha


Ramon Bernert
Replied On September 27, 2010 03:29 AM

Thanks.


Jisha Joy [Syncfusion]
Replied On September 28, 2010 02:30 AM

Hi Ramon,

Thank you for your update.

Regards,
Jisha


CONFIRMATION

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.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;