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. Image for the cookie policy date
close icon

Allocating equal size for each of the columns in DataRelations (GridGroupingControls)

I spent many hours last night trying to figure this out, to no avail, and am hoping you can help me.

With the following model:

http://www2.syncfusion.com/ug_61/gridwin/DataRelations.html

How can we implement:

http://www2.syncfusion.com/ug_61/gridwin/HowToAllocateEqualSizeForEachOfTheColumnsInAllTheTables1.html

Thanks!
:) Anne at Arbonne.com


8 Replies

JS Jeba S Syncfusion Team December 27, 2007 09:19 AM UTC

Hi Anne,

Thank you for your interest in Syncfusion Products.

Please refer the below KB article which shows "How to allocate equal size for each of the columns in all the tables of a GridGroupingControl?"

http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=356

Kindly let us know if you need any further assistance.

Best Regards,
Jeba.



AT Anne Thorne December 27, 2007 02:21 PM UTC

Thank you,

Yes. The link you gave me is the same content of the one of the links I referenced in my query about this.

The different situation, however is that we are using hierarchy datasets, as in the other link I referenced.

How do we combine both architectures?

Thanks!
:)Anne

>Hi Anne,

Thank you for your interest in Syncfusion Products.

Please refer the below KB article which shows "How to allocate equal size for each of the columns in all the tables of a GridGroupingControl?"

http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=356

Kindly let us know if you need any further assistance.

Best Regards,
Jeba.





J. J.Nagarajan Syncfusion Team December 29, 2007 12:29 AM UTC

Hi Anne,

We are not sure what you are looking for. The KB artilce above actually expalins setting up equal width for all the columns in grid includeing the nested tables. If this is not what you want, please provide us more information on your requirement, prefrerrably with some screenshot.

Regards,
Nagaraj



AT Anne Thorne January 3, 2008 01:01 AM UTC

Thanks,

I'll put together a sample application, that shows what we are doing. Hopefully I can get that done and sent to you tomorrow.

:) Anne





AT Anne Thorne January 3, 2008 05:48 PM UTC

Hi,

I am attaching a sample of the type of GridGroupingConter we want to have equal row lengths for. If you run the attached code and click on one of the plus buttons, the row length is much shorter than the parent row length. We would like to make those columns wider to compensate for this.

I have tried to incorporate the code you have sent, but they seem to be different models...

Any help you can give is greatly appreciated. We use Syncfusion for our CallCenter application and want the application to look as good as possible.

Thanks!
:) Anne



HeirarchyGridEqualCol_arbonne.zip


J. J.Nagarajan Syncfusion Team January 23, 2008 03:01 AM UTC

Hi Anne ,

Please check the following sample that helps setting the equal row lengths for parent and child grid.

Here is the sample.

http://websamples.syncfusion.com/samples/Grid.Windows/F70645_Jan22/main.htm

Please refer to it and let me know if this helps.

Regards,
Nagaraj



AT Anne Thorne January 31, 2008 05:11 PM UTC

Thank you!

My company is only up to Syncfusion Version 4.1.0.62 and I don't think they have yet renewed their license. Is it possible to do what you are advising with version 4.1.0.62,
or do we need to wait until we renew our license and get the latest version of Syncfusion. (We are using Dot Net 2.0)

Thank you again!
:)Anne



SR Sri Rajan Syncfusion Team April 24, 2008 06:45 PM UTC

Hi Anne,

Thank you for your patience.

You need to handle the QueryRowHeight event and set the Size to make all rows(Parent and Child rows) height same size.

void TableModel_QueryRowHeight(object sender, GridRowColSizeEventArgs e)
{
e.Size = 50;
e.Handled = true;
}


Please let me know if this helps.

Best Regards,
Srirajan.



Loader.
Live Chat Icon For mobile
Up arrow icon