You are not logged in.
This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.
Pages: 1
Topic closed
May I know is there any way to limit the character length in a cell? Thanks!
Offline
You can use the CellEditCharInputed event.
sheet.CellEditCharInputed += (s, e) =>
{
if (sheet.CellEditText.Length > 5)
{
e.InputChar = 0;
}
};
When the text length > 5 then set e.InputChart to 0 will prevent new char to be accepted.
Offline
Thx!
Offline
Pages: 1
Topic closed