I am trying to implement a custom language selection feature in a window. I don't want to use the built in tool for translation management, tried that and its too difficult to parameterize. So I basically created my own language selector and it work with everything except this power table. Reason being, the power table dataset comes from a query that sets the column names for it. Is there any way I can parameterize the column names so that when "english" is selected the names are in english, and when "espanol" is selected, the column names are in spanish?
There is no way that you can 'parameterize' them. You could definately though use the initialize
extension function and/or a property change event script to change the column names.
There are ways to do what you're wanting to do. The first step will be to create a custom property to hold the raw data from the database instead of haveing a binding directly on the data property.
You can dynamically generate the column attributes dataset to control the column headers.