Tables Dataset added columns deleted

I have added several columns and have them image mapped. Saved the window, upon reopening the window my added columns are there for a brief second and then they are gone. Not sure what is going on here. I have no scripting on this table or window.

Do you have the data property bound to a SQL query that’s populating the dataset or anything like that?

Yes the table is bound to a SQL query.

Found a fix but I would not think this is the proper way. I added the columns to my SQL select query.

That is the best way to accomplish what you want. When you bind the data property to a SQL query then the dataset takes on the characteristics of your returned data. Any manual changes you make to the dataset will be overwritten whenever the query runs and the data property is updated.