Hello! I have a collection on my form that is being populated by a lookup. When a new row is added by the lookup, the CSS classes aren't being applied until a new row is added or deleted from the collection. How do I resolve this?
CSS classes not added until a new row is added or deleted from the collection
I've created a lot of tables that populate from lookups and I've never seen the CSS classes set in the field configuration not be assigned.
Sorry I am a bit late to the party, but it sounds like you are most likely trying to apply some custom CSS or Jquery on a collection and judging by your statements, it sounds like the CSS is working correctly once you trigger a click function on the appending of the new row. You also must remember to think about the events that happen when form is loaded, which would certainly take precedent over the click function, which would happen after the form is loaded. In order to trigger any custom CSS on these, you must also not forget to trigger the CSS on a load/page ready event. Let me know if you still have trouble
Thanks guys! I am loading a stylesheet into my form upon document load, so that must have been the issue. I changed it to wait for the lookup on the collection to complete and it works now albeit a small delay.