This question is locked. New answers and comments are not allowed.
I'm trying to duplicate the appearance of an invalid cell on the client-side (same appearance as a blank Required field). In the OnSave event, I'm basically doing this:
When I examine the page using the IE Developer Tools, I do see that the cell does have the class assigned to it correctly. However, the actual border styling is being overridden by the ".t-grid td" setting. How can I apply a css class to set the border of the cell red in this situation?
if (!data.IsValid) skuCell.addClass("product-client-side-error"); else skuCell.removeClass("product-client-side-error");
Style is:
.product-client-side-error
{
border:2px;
border-color:red;
border-style:solid
}
When I examine the page using the IE Developer Tools, I do see that the cell does have the class assigned to it correctly. However, the actual border styling is being overridden by the ".t-grid td" setting. How can I apply a css class to set the border of the cell red in this situation?
