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.

Set selected record row height on selection

Thread ID:

Created:

Updated:

Platform:

Replies:

51174 Oct 30,2006 11:52 AM Nov 2,2006 04:20 PM ASP.NET Web Forms (Classic) 4
loading
Tags: GridGroupingControl
Sandy
Asked On October 30, 2006 11:52 AM

I would like to change the row height of the selected record when it enters edit mode. I found documentation for this in the windows forms version of the grid control but not the web version. Can this be done and if so, what is the syntax please?

Thanks,
Sandy


Administrator [Syncfusion]
Replied On October 31, 2006 06:55 AM

Hi Sandy,

We are looking in to this and will update you later today.

Thanks,
A.Sivakumar

Sandy
Replied On November 1, 2006 08:16 AM

Have you had any luck with a way to do this?

Thanks,
Sandy

Administrator [Syncfusion]
Replied On November 1, 2006 04:10 PM

Hi Sandy,

We are still looking on some posssible ways to implement this, also could you please point us on how you were doing this in windows grid?.

Thanks,
A.Sivakumar

Sivakumar [Syncfusion]
Replied On November 2, 2006 04:20 PM

Hi Sandy,

AS we have mentioned befor, We don't have this support directly, by using some property/function. However we are able to acheive this behavior, by getting the editing record in client

side and changing their height. Please see the attached sample , which describes this.

EditRowHeight.zip


You can simply copy the script code( function IncrementEditedRowHeight(ggcObject,htEdit)) from the attached sample and can provide necessary arguments for

this function and can use this in your project.

If you want to acheive this behavior in postback mode, copy the below code after closing the form tag in your aspx page. and if you want this behavior in

Callback mode of our grid, then use it in the AfterCallbackResponseProcessedScript Property. Both of these scenarios are explained in the sample.

Eg: if your GridGroupingControl's Client ObjectID is 'GridGroupingControl1' and you want the Edited rows height to '45px'. you will have to use the below

code either in AfterCallbackResponseProcessedScript Property or below the form tag, based on Postback/Callback scenario

IncrementEditedRowHeight('GridGroupingControl1','45');

Let us know if you have any queries.

Thanks,
A.Sivakumar

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.

;