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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

dgRangePlanGrid_QueryRecordMeetsFilterCriteria

Thread ID:

Created:

Updated:

Platform:

Replies:

71504 Feb 3,2008 05:36 AM UTC Feb 7,2008 08:43 AM UTC WinForms 1
loading
Tags: GridControl
swaminath dhavane
Asked On February 3, 2008 05:36 AM UTC

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 08:43 AM UTC

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.

Warning Icon 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.Close Icon

;