Question

I would like to use some JavaScript in 'Edit in DataSheet' mode to check a value and prompt a user to enter some text.

Is this possible?

Was it helpful?

Solution

I'm sorry but you can't. The DataSheet mode uses a "SEALED" ActiveX Control. You have no control over the markup of this control(use IE Dev Toolbar and check it out) in order to control client side behaviour.

OTHER TIPS

In SP2013 you can run javascript on top of datasheet view.

function CodeToRun(){//code here}

ExecuteOrDelayUntilScriptLoaded(CodeToRun, "callout.js");
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top