Need help appending text to a table column via Javascript

Instead of field.item.element, try working with the array field.item.fields and then field.item.fields[0].element.addClass.

This is from a snippet run as a Field Renderer on a table column.

            // Also get the element of the Case Manager field 
            // (should be fields[1], the 2nd column) and highlight it also
            for ( i=0; i<field.item.fields.length; i++)
            {
                if ( field.item.fields[i].id == “Case_Manager__r.Name” )
                {
                    field.item.fields[i].element.addClass(“blueHighlight”);
                    break;
                }
            }

The table column is an empty UI-Only field. I assign a value inside the snippet and then render it with:

            skuid.ui.getFieldRenderer(field.metadata.displaytype).read( field, value );

You might be able to read the value of a non-ui-only field from arguments[1] and then append to it. However, this page broke with Millau and we had to rebuild it. I don’t recall if the UI-Only fields were a necessity or a convenience (so three fields could be populated with one snippet).