/// <summary> /// Adds a new column to the Grid. /// </summary> /// <param name="css">The column custom CSS.</param> /// <param name="order">The order of the column.</param> /// <param name="templates">The columns to be added.</param> /// <returns>The fluent configurator object.</returns> public FWGridControl AddColumn(string css, int order, params string[] templates) { var column = new FWTableColumnCustom(templates) { Css = css, Order = order }; AddColumn(column); return(this); }
private void CreateLineActions() { var column = new FWTableColumnCustom(new List <string> { FWDetailHelper.CreateRemoveButton().ToString() }) { Css = "col-sm-1 m--align-right", Order = int.MaxValue }; AddColumn(column); }