Ejemplo n.º 1
0
 /// <summary>
 /// Sets array delimiter for array columns
 /// </summary>
 /// <param name="v"></param>
 /// <param name="arrayDelimiter">Array delimiter string</param>
 /// <returns></returns>
 public static FormWatchFieldBuilder <T> Delimiter <T>(this FormWatchFieldBuilder <T> v,
                                                       string arrayDelimiter) where T : IEnumerable
 {
     v.FieldData.ArrayDelimiter = arrayDelimiter;
     return(v);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Allow FormWatch to equip client field with Datepicker according to common table settings
 /// </summary>
 /// <param name="v"></param>
 /// <param name="auto"></param>
 /// <returns></returns>
 public static FormWatchFieldBuilder <DateTime?> AutoDatePicker(this FormWatchFieldBuilder <DateTime?> v,
                                                                bool auto = true)
 {
     v.FieldData.AutomaticallyAttachDatepicker = auto;
     return(v);
 }