public static Configurator <Toy, Row> FormWatchForAdditionalData(this Configurator <Toy, Row> conf) { conf.ButtonsAndCheckboxify(); conf.ReloadButton(ui => ui.ForceReload().RenderTo("#reloadPlaceholder")); conf.ReloadButton(ui => ui.ForceReload().Order(3), "lt"); conf.LoadingOverlap(ui => ui.Overlap("#searchForm")); conf.Column(c => c.Name) .Template(tpl => tpl.Returns(a => a.Tag("span").Css("color", "blue").Css("cursor", "pointer").Content("{Name}"))) .SubscribeCellEvent("click", "objectEventHandler"); conf.Column(c => c.Preorders) .Template(tpl => tpl.Returns(a => a.Tag("span").Css("background-color", "aliceblue").Css("cursor", "pointer").Content("{Preorders}").Class("moveme"))); conf.Column(c => c.Price) .Template( tpl => tpl.Returns( a => a.Tag("span").Content("`{Price}.toFixed(2)` ") .After(b => b.Tag("button").Class("btn btn-xs btn-info").Data("clickme", "true").Content("Click me")))) .SubscribeCellEvent("mousemove", "selectorEventHandler", "[data-clickme]"); conf.SubscribeRowEvent("click", "rowEventHandler"); conf.SubscribeRowEvent("click", "rowSelectorEventHandler", ".moveme"); return(conf); }
public static Configurator <Toy, Row> TableAdvancedTemplating(this Configurator <Toy, Row> conf) { conf.ButtonsAndCheckboxify(); return(conf); }
public static Configurator <Toy, Row> SubscribingCellAndRowEvents(this Configurator <Toy, Row> conf) { conf.ButtonsAndCheckboxify(); return(conf); }
public static Configurator <Toy, Row> PermanentQueryPartProvider(this Configurator <Toy, Row> conf) { conf.ButtonsAndCheckboxify(); return(conf); }
public static Configurator <Toy, Row> ClientReloadingWithQueryPartProvider(this Configurator <Toy, Row> conf) { conf.ButtonsAndCheckboxify(); return(conf); }