ToggleColumn - making conditionally invisible
Hi I have the following code snippet
In the I can access $record - but within I am unable to (i.e. generates an error - "Attempt to read property "record_type" on null").
I don't understand why $record isn't universally available to me - but accepting that's the case, how would I access the current record within the method so that I can determine whether the toggle should be shown or not?
thanks for your help!
j
In the I can access $record - but within I am unable to (i.e. generates an error - "Attempt to read property "record_type" on null").
I don't understand why $record isn't universally available to me - but accepting that's the case, how would I access the current record within the method so that I can determine whether the toggle should be shown or not?
thanks for your help!
j