removeMark

removes a flag set for the specified item

void removeMark(number|string id,string name, [boolean css,boolean silent] );
id
number|stringthe id of a data item to mark name
stringthe flag name css
booleandefines 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

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").removeMark(2, "invalid", false);

Details

The method removes only flags set by the addMark method.

See also
  • API
  • Back to top
    Join Our Forum
    We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.