Is it possible to fix the size of the Row when double-clicking that grid column when it is EditType?

Is it possible to make the default rowHeight size the same as when it is EditMod shown in the picture?


3 Replies

PS Pon Selva Jeganathan Syncfusion Team August 22, 2024 02:48 PM UTC

Hi Customer,


To proceed with your query and provide an accurate solution, we need some additional details:


  1. Complete TreeGrid code details.
  2. Can you confirm whether the reported height difference is 0.67 px?

Before editing:

While editing:

  1. Detailed explanation of your issue.
  2. Share the theme related details.
  3. Package version details.
  4. Video demo to replicate the issue


This information will help us better understand the situation, identify the root cause, and provide a more accurate solution.


Regards,

Pon selva



?? ??? replied to Pon Selva Jeganathan August 23, 2024 12:28 AM UTC



The default height is 25px

If you click it, it's 30.19px


Even if I click, I want to stop at the default size of 25px.


version : 26.2.10 



PS Pon Selva Jeganathan Syncfusion Team August 24, 2024 01:02 PM UTC

Hi Customer,


Thanks for sharing details.


Based on the details you provided, we were able to replicate the issue on our end. To resolve this, we suggest using the following CSS styles:


 

<style>

    .e-rowcell .e-editedbatchcell{

        height: 25px !important;

    }

 

    input.e-input, .e-numeric,.e-input-group input,

    .e-input-group.e-control-wrapper input,

    .e-input-group input.e-input,

    .e-input-group.e-control-wrapper input.e-input {

        height: 20px !important;

    }

</style>


Refer to the below sample,

https://blazorplayground.syncfusion.com/LNrpNlhfJHFEmRJa


Kindly get back to us for further assistance.



Loader.
Up arrow icon