Welcome to the React feedback portal. We’re happy you’re here! If you have feedback on how to improve the React, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

0
Votes

Need to enhance the autoFit method to include an optional argument that specifies a minimum value for row height or column width during auto-fitting. This ensures that rows or columns are not resized below the defined minimum dimensions.

Proposed Examples:

 autoFit('5:5', minVal: 20)

Ensures row height is not less than 20 after auto-fitting.

 autoFit('A:A', minVal: 30)

Ensures column width is not less than 30 after auto-fitting.

Current and expected behaviour:

Current behaviour:

If I invoke the autoFit method like  autoFit('B:B') with the content as 'Low', the output will be like the below screenshot,

 

Expected behaviour:

 

If I invoke the autoFit method like autoFit('B:B', 40) with the same content as 'Low', the output needs to be like the below screenshot, (i.e. Column width should not be lesser than minimum value 40)