Posted 2 October 2017, 6:55 pm EST
Hi,
when an error occurs with the Create, Update, or Delete methods, you receive a alert that show the error message.
It would be possible to hide the alert and display that error, not in grid but in html, for example in a div?
Eg:
@ (Html.C1 (). FlexGrid (). Id ( "data_grid") .SelectionMode (SelectionMode.Row) .AllowSorting (true) .Filterable () .Height (450) .Bind (b => { b.Bind (Url.Action ( "RemoteBind_Read")); b.Create (Url.Action ( "GridCreate")); b.Update (Url.Action ( "GridUpdate")); b.Delete (Url.Action ( "GridDelete")); }) .AutoGenerateColumns (false) .Columns (bl => { bl.Add (cb => cb.Binding ("Id"). Visible (false)); bl.Add (cb => cb.Binding ("Note"). Width ("*") IsReadOnly (true)); }) .ItemFormatter ( "gridFormatter"))
Thank’s,
Marco