Exemplo n.º 1
0
 /// <summary>
 /// Returns current column index in GTable cols collection
 /// </summary>
 /// <param name="table"></param>
 /// <param name="col"></param>
 /// <returns></returns>
 public static int GetColumnIndex(this GTable table, GColumn col)
 {
     return table.cols.IndexOf(col);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Adds a column of type GColumn
 /// </summary>
 /// <param name="col"></param>
 /// <returns>self</returns>
 public GTable AddColumn(GColumn col)
 {
     cols.Add(col); return this;
 }