ShinobiDataGrid: Max Text Length


#1

Hi,

I’m using the ShinobiDataGrid to manipulate some values from a data repository. (CRUD operations)

Is there any property to limit the text length of an editable column? The use mustn’t enter more chars than the DB allow.
Do you offer any predefined / configured options for simple CRUD operations such as ‘Add new row’, ‘Delete row’, …?

Best regards,
Danny


#2

Hi dannyyy,

There is no built in feature to limit the text length in a cell.

However, you can implement this behaviour yourself by customising a UITextViewDelegate and assigning it to the “editingTextView.delegate” property on your SDataGridMultiLineTextCell.

Let me know how you get on.

Kind Regards,
Andrew Polkinghorn