I am trying to enforce the MaxLength attribute on specific columns in my grid using the following:
{dataIndx: "Activity", title:'Activity Code', editable: true, width: 110, attr: 'maxlength=10', style: {'border-bottom': '1px dashed #ff0000','border-left': '1px dashed #ff0000', 'border-right': '1px dashed #ff0000','background': '#c6efce'}, styleHead: {'background': '#F4B084', 'color': 'black','font-weight': 'bold'}, hidden:false}
Unfortunately, this attr function is not having any effect. Can you provide an alternate way to ensure that only 10 characters can be entered in a specific cell/column?
Thanks again...
-P