I have a requirement to run some JavaScript once the edit mode of the list loads to assign some colors to the cells based on their content.

The JavaScript function which i am using has no errors but it does not make the changes on page as till then the edit mode is not loaded.

The same script runs fine on the normal view.

  • SP2010 or SP2013? – Jussi Palo Mar 27 '15 at 10:31
  • @JussiPalo 2013 – Saksham Mar 27 '15 at 11:57
  • You might want to share the code. Are you using _spBodyOnLoadFunctionNames.push("myCustomFunctionName");for example? – yandr Mar 28 '15 at 9:38
  • @yandr this seems quite helpful. Will confirm whether it solved my purpose or not after trying it out. – Saksham Mar 28 '15 at 13:22
  • @yandr didn't solve my issue. – Saksham Mar 30 '15 at 14:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.