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

Set selected record row height on selection

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


4 Replies

AD Administrator Syncfusion Team October 31, 2006 11:55 AM UTC

Hi Sandy,

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

Thanks,
A.Sivakumar


SA Sandy November 1, 2006 01:16 PM UTC

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

Thanks,
Sandy


AD Administrator Syncfusion Team November 1, 2006 09:10 PM UTC

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


SI Sivakumar Syncfusion Team November 2, 2006 09:20 PM UTC

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

Loader.
Live Chat Icon For mobile
Up arrow icon