IgniteEngine-iOS icon indicating copy to clipboard operation
IgniteEngine-iOS copied to clipboard

Suggested improvements to table control

Open chrislatimer opened this issue 9 years ago • 0 comments

Request - please consider making the table control more analogous to HTML tables with a way to display data with table headings, cell/row borders, and separate cell/row controls. Right now it's time consuming to try to get table's cells to display correctly by nesting text/image blocks directly. Helper controls that handle common layout issues would be super convenient and very much appreciated!!

Potential syntax, just for illustration purposes:

{
   "_id":"someTable",
   "_type":"Table",
   "attributes": {
   },
  "controls": [
   {
      "_id":"someTableHeading", 
      "_type":"TableHeadingRow",
      "attributes":{
      }
      "controls":[
         {
            "_id":"idHeading",
            "_type":"TableHeading",
            "attributes": {
              "cell.width":"25%",
            }
         },
         {
            "_id":"nameHeading",
            "_type":"TableHeading",
            "attributes": {
              "cell.width":"50%",
            }
         },
         {
            "_id":"typeHeading",
            "_type":"TableHeading",
            "attributes": {
              "cell.width":"25%",
             }
         }
      ]
   },
   {
      //table row control
            //nested cell controls within each row
   }
  ]
}

chrislatimer avatar Aug 09 '15 18:08 chrislatimer