Display data in Table

Hello , I have a string type attribute in an entity , the value  stores is in the format  A,B,C D,E,F The number of rows are dynamic and columns are fixed . I want to display the data in table format , with number of rows increasing with the data has more rows. Can someone help we with this 
1 answers

Have a look at Community Commons. In there you will find the StringSplit action. You can pass your string as the inputString, and comma as the splitParameter. This returns a list of SplitItems. You can then iterate this list to build an entity to represent a row. Do this for all the strings and build up a list of this entity and pass it into a Data Grid (or similar) to display it.

Hope this helps.