Free Support Forum - aspose.com

Validations.getValidationInCell

Hi there,

I am just wondering about method call sheet.Validations.GetValidationInCell(cell.Row, cell.Column) which available only to .NET Aspose.Cell. However, For Java Aspose.Cell, I can’t really found such useful method under Validations class. At the moment, I am using Java Aspose.Cell (2.5.4.13).

Could you please help me on this?

Cheers,

Hi,

We will provide a method for your this requirement in next fix.


Validation com.aspose.cells.Validations.getValidationInCell(int row, short column)

Gets the Validation for given cell.

Parameters:
row cell's row index
column cell's column index
Returns:
Validation for given cell. If no validation defined for given cell, null will be returned.

Cool. Thank you. Btw, when is the next release?

Cheers,

Hi,

On average, it takes 2~3 days for next release. So you can expect it in this time span.

Hi,

Please try this new fix. With the new fix please call

Validations.getValidationInCell(int row, short column)

to get the Validation defined for given cell. If no Validation has been defined for the cell, null will be returned.


Download:
Aspose.Cells for Java v2.5.4.15

Hi,

thank you and it works.

Cheers