removeMark

removes a flag set for the specified item

void removeMark(number|string id,string name,boolean css);

Parameters

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

Example

$$("dtable").addMark(2, "invalid", true, "incorrect format"); 
...
// removes the flag but keeps the css style ".invalid" applied to the item with 'id=2'
$$("dtable").getMark(2, "invalid", false);

Details

The method removes only flags set by the addMark method.

See also
Back to top