removes a flag set for the specified item

void removeMark(number|string id,string name, [boolean css,boolean silent] );
idnumber|stringthe id of a data item to mark
namestringthe flag name
cssbooleandefines whether the css style with the name equal to the flag name (if such class was applied) should be removed as well
silentboolean(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.

See also
Back to top