Set table columns dynamically from ko.observableArray
问题 I am trying to output a table of data based on a ko.observableArray where the columns that are returned are not pre-determined. A sample of an item from my observableArray self.userData()[0] would be: Object { RowNum: 1, ID: "123", Surname: "Bloggs", Forename: "Joe", Address line 1: "1 Park Lane" } These columns would be different each time based on what the user has selected to output. I want the column headings in my output to be determined by what is present in the array, so my desired