c# - Time Filter in GridMvc -
I can not find the time filter properly, it displays calendar instead of time, however the calendar should only be displayed when Date filter is selected. Below is the code for my idea, I also attached the image I downloaded the sample source code from the following link
View There is no attribute for the Sir filtering time is on this datatype. Grid MVC supports multiple types of columns (specified in the add method):
@ GridMvc @ GridMvc.Sorting @memel IEnumerable using HTML. & Lt; GridMvc .Site.Logging & gt; Add column (column = & gt; {/ * "Order ID" column: * / columns.Add (o = & gt; OID). Tetched ("number") .SetWed (100); column.ed (o = & Gt; O.Datetime, "Date"). Tetched ("Date"). Artificial Decision (Grid Associated Direction) Format ("{0: DD / MM / YYYY}"). Setwidth (110); Ed (o = & gt; o.tatme, "time"). Tetched ("time"). Artistic Direction (Grid Associated Direction). Format ("{0: hh: MMT}"). Setwid (110); Column.ed (o = & gt (O. Type). Setwidth (150). Then STRBDAndanding (O = & gt; OID); // Set Filter TypeType ("(" ("(" (")". "Detection (250); Column .ad (o = & o; o reference). Tetched ("references") .SetWidth (150). CSS ("hidden-x"); // hide on the phone column. Response). Tetched ("Response"). Sittewith (150). CSS ("Hidden X"); Hide on the phone}}. SINGING (15) .SOURTABLE () .Filtable (). WithMultipleFilters ()
system. String System. INT 32 System. INT 64 System. Boolean system. Datam system. Decimal system. Bit system Double system Single
Comments
Post a Comment