File tree Expand file tree Collapse file tree 1 file changed +1
-64
lines changed
examples/Demo/Shared/Pages/Lab Expand file tree Collapse file tree 1 file changed +1
-64
lines changed Original file line number Diff line number Diff line change 1- @page " /test"
2-
3- <style >
4- .column-header {
5- border-right : 2px solid ;
6- }
7- </style >
8-
9-
10- <div style =" height : 200px ; overflow-y : scroll ;" >
11- <FluentDataGrid DisplayMode =" DataGridDisplayMode.Table" TGridItem =" Testt" Items =" testList.AsQueryable()" GenerateHeader =" GenerateHeaderOption.Sticky" >
12- <TemplateColumn Sortable =" true" Title =" First Column Header" Align =" Align.Center" Width =" 200px" >
13- @context.a
14- </TemplateColumn >
15- <TemplateColumn Sortable =" true" Title =" Second Column Header" Align =" Align.Center" Width =" 200px" >
16- @context.b
17- </TemplateColumn >
18- <TemplateColumn Sortable =" true" Title =" Third Column Header" Align =" Align.Center" Width =" 200px" >
19- @context.c
20- </TemplateColumn >
21- </FluentDataGrid >
22- </div >
23-
24-
25- @code {
26- class Testt
27- {
28- public string a = " a" ;
29- public string b = " b" ;
30- public string c = " c" ;
31- }
32-
33- private List <Testt > testList = new ()
34- {
35- new (),
36- new (),
37- new (),
38- new (),
39- new (),
40- new (),
41- new (),
42- new (),
43- new (),
44- new (),
45- new (),
46- new (),
47- new (),
48- new (),
49- new (),
50- new (),
51- new (),
52- new (),
53- new (),
54- new (),
55- new (),
56- new (),
57- new (),
58- new (),
59- new (),
60- new (),
61- new (),
62- new (),
63- };
64- }
1+
You can’t perform that action at this time.
0 commit comments