removes a flag set for the specified item
id | number|string | the id of a data item to mark |
name | string | the flag name |
css | boolean | defines whether the css style with the name equal to the flag name (if such class was applied) should be removed as well |
silent | boolean | (optional) if set to true, the component is not redrawn |
$$("dtable").addMark(2, "invalid", true, "incorrect format");
...
// removes the flag but keeps the css style ".invalid" applied to the item with 'id=2'
$$("dtable").removeMark(2, "invalid", false);
The method removes only flags set by the addMark method.