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);
        }
        private FWDivElement CreateActionButtons()
        {
            var actions = new FWDivElement();

            actions.AddCssClass("fw-actions");
            foreach (var actionSizes in _totalColumnSize)
            {
                // Calculates the remaining grid size in the last row.
                var colSize = FWGridSizeHelper.GRID_COLUMNS - (actionSizes.Value % FWGridSizeHelper.GRID_COLUMNS);
                actions.AddCssClass($"col-{FWGridSizeHelper.GetDeviceName(actionSizes.Key)}-{colSize}");
            }

            actions.Add(FWDetailHelper.CreateRemoveButton().ToString());

            return(actions);
        }