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.

dgRangePlanGrid_QueryRecordMeetsFilterCriteria

Thread ID:

Created:

Updated:

Platform:

Replies:

71504 Feb 3,2008 12:36 AM Feb 7,2008 03:43 AM Windows Forms 1
loading
Tags: GridControl
swaminath dhavane
Asked On February 3, 2008 12:36 AM

hi,
iam using grouping grid control andinthat grid parent and child record are existing .
when QueryRecordMeetsFilterCriteria ()is fired record are geting filterd but only parent records are visible and not child records


Jisha Joy [Syncfusion]
Replied On February 7, 2008 03:43 AM

Hi Swaminath,

I have prepared a sample with nested tables and handled the QueryRecordMeetsFilterCriteria event. It dispalys parent table revords along with child table.

private void button1_Click(object sender, EventArgs e)
{
this.gridGroupingControl1.TableDescriptor.RecordFilters.Clear();
this.gridGroupingControl1.TableDescriptor.RecordFilters.Add("[parentID] < 3");

}

void gridGroupingControl1_QueryRecordMeetsFilterCriteria(object sender, QueryRecordMeetsFilterCriteriaEventArgs e)
{
if (restrict)
{
e.Handled = true;
e.Result = (bool)recordPositions[e.Record];
}
}


Please refer the sample in the link to illustrate this:
http://websamples.syncfusion.com/samples/Grid.Windows/71504/main.htm

Please have a look at the above sample and if still the issue exists could you please provide a sample that shows the issue so that we could sort out the cause of the issue and provide you a solution?.

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.

;