Author Topic: LiquidUI: GuiXT Column for GuiXT Table  (Read 7041 times)

chirag.amin@guixt.com

  • GuiXT Forum
  • Newbie
  • *
  • Posts: 34
    • View Profile
LiquidUI: GuiXT Column for GuiXT Table
« on: August 23, 2016, 10:28:17 AM »
This example illustrates how to assign values to a GuiXT column when the column is being used by a GuiXT table. This differs from when the GuiXT column is being used in an SAP table. That scenario is explained in another article:
   http://www.guixt.com/forum/index.php?topic=42.0


LiquidUI Code:

clearscreen();

name = ["Chirag", "Rajesh", "Ben"];
age = [24, 31, 30];

table([0,0], [10,25], {"name":"z_table", "title":"LiquidUI Table", "rows":name.length});
column("Name", {"name":"z_column1", "size":10});
column("Age", {"name":"z_column2", "size":5});

for(j=0;j<name.length;j++){
   z_table.z_column1[j] = name[j];
   z_table.z_column2[j] = age[j];
}
« Last Edit: September 21, 2018, 02:54:21 PM by Rahul Gera »