File tree Expand file tree Collapse file tree 9 files changed +23
-23
lines changed
export-to-xlsx-hierarchy/Pages
remote-validation/Client/Pages
listview/ValidationExamples/ValidationExamples/Pages Expand file tree Collapse file tree 9 files changed +23
-23
lines changed Original file line number Diff line number Diff line change 14
14
FilterMode =" GridFilterMode.FilterMenu"
15
15
AutoGenerateColumns =" true" >
16
16
<GridToolBar >
17
- <GridCommandButton Command =" ExportToExcel" Icon =" @ file-excel" OnClick =" ExportToExcel" >Export To Excel</GridCommandButton >
17
+ <GridCommandButton Command =" ExportToExcel" Icon =" file-excel" OnClick =" ExportToExcel" >Export To Excel</GridCommandButton >
18
18
<TelerikDropDownList Data =" formats" TItem =" string" TValue =" string" @bind-Value =" SelectedFormat" />
19
19
</GridToolBar >
20
20
<GridColumns >
Original file line number Diff line number Diff line change 19
19
<GridColumn Field =" Summary" />
20
20
</GridColumns >
21
21
<GridToolBar >
22
- <TelerikButton Icon =" @ file-pdf" OnClick =" @ExportToPdf" >Export to PDF</TelerikButton >
22
+ <TelerikButton Icon =" file-pdf" OnClick =" @ExportToPdf" >Export to PDF</TelerikButton >
23
23
<label ><TelerikCheckBox @bind-Value =" @ExportAllPages" />Export All Pages</label >
24
24
</GridToolBar >
25
25
</TelerikGrid >
Original file line number Diff line number Diff line change 11
11
Sortable =" true" Pageable =" true" PageSize =" 20"
12
12
Data =@GridData TotalCount =@Total OnRead =@ReadItems >
13
13
<GridToolBar >
14
- <TelerikButton Icon =" @ file-pdf" OnClick =" @ExportToPdf" >Export to PDF</TelerikButton >
14
+ <TelerikButton Icon =" file-pdf" OnClick =" @ExportToPdf" >Export to PDF</TelerikButton >
15
15
<label ><TelerikCheckBox @bind-Value =" @ExportAllPages" />Export All Pages</label >
16
16
</GridToolBar >
17
17
<GridColumns >
Original file line number Diff line number Diff line change 7
7
FilterMode =" Telerik.Blazor.GridFilterMode.FilterRow"
8
8
Resizable =" true" Reorderable =" true" >
9
9
<GridToolBar >
10
- <GridCommandButton Command =" Print" OnClick =" @Print" Icon =" @ print" >Print</GridCommandButton >
10
+ <GridCommandButton Command =" Print" OnClick =" @Print" Icon =" print" >Print</GridCommandButton >
11
11
</GridToolBar >
12
12
<GridColumns >
13
13
@* Use the Visible parameter of the columns to define which of them will not be visible in print mode.*@
Original file line number Diff line number Diff line change 49
49
FilterMode =" Telerik.Blazor.GridFilterMode.FilterRow"
50
50
Resizable =" true" Reorderable =" true" >
51
51
<GridToolBar >
52
- <GridCommandButton Command =" Print" OnClick =" @Print" Icon =" @ print" >Print</GridCommandButton >
52
+ <GridCommandButton Command =" Print" OnClick =" @Print" Icon =" print" >Print</GridCommandButton >
53
53
</GridToolBar >
54
54
<GridColumns >
55
55
<GridColumn Field =" @(nameof(SampleData.Id))" Width =" 120px" />
Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ This sample uses a Notification component to show the error message to supplemen
19
19
<GridColumn Field =" TemperatureF" Title =" Temp. F" DisplayFormat =" {0:N1}" />
20
20
<GridColumn Field =" Summary" />
21
21
<GridCommandColumn Width =" 200px" Resizable =" false" >
22
- <GridCommandButton Command =" Save" Icon =" @ save" ShowInEdit =" true" >Update</GridCommandButton >
23
- <GridCommandButton Command =" Edit" Icon =" @ edit" Primary =" true" >Edit</GridCommandButton >
24
- <GridCommandButton Command =" Delete" Icon =" @ delete" >Delete</GridCommandButton >
25
- <GridCommandButton Command =" Cancel" Icon =" @ cancel" ShowInEdit =" true" >Cancel</GridCommandButton >
22
+ <GridCommandButton Command =" Save" Icon =" save" ShowInEdit =" true" >Update</GridCommandButton >
23
+ <GridCommandButton Command =" Edit" Icon =" edit" Primary =" true" >Edit</GridCommandButton >
24
+ <GridCommandButton Command =" Delete" Icon =" delete" >Delete</GridCommandButton >
25
+ <GridCommandButton Command =" Cancel" Icon =" cancel" ShowInEdit =" true" >Cancel</GridCommandButton >
26
26
</GridCommandColumn >
27
27
</GridColumns >
28
28
<GridToolBar >
29
- <GridCommandButton Command =" Add" Icon =" @ plus" Primary =" true" >Add Forecast</GridCommandButton >
29
+ <GridCommandButton Command =" Add" Icon =" plus" Primary =" true" >Add Forecast</GridCommandButton >
30
30
</GridToolBar >
31
31
</TelerikGrid >
32
32
Original file line number Diff line number Diff line change 25
25
< br / >
26
26
< TelerikDropDownList Data = " @Teams" @bind - Value = " @currEditItem.Team" / >
27
27
28
- < ListViewCommandButton Command = " Save" Icon = " @ save" > Save < / ListViewCommandButton >
29
- < ListViewCommandButton Command = " Cancel" Icon = " @ cancel" > Cancel < / ListViewCommandButton >
28
+ < ListViewCommandButton Command = " Save" Icon = " save" > Save < / ListViewCommandButton >
29
+ < ListViewCommandButton Command = " Cancel" Icon = " cancel" > Cancel < / ListViewCommandButton >
30
30
< / EditForm >
31
31
}
32
32
}
36
36
<div style =" border : 1px solid black ; margin : 10px ; padding : 10px ; display : inline-block ;" >
37
37
Employee: @context.Id <br />
38
38
Name: @context.Name in team: @context.Team
39
- <ListViewCommandButton Command =" Edit" Icon =" @ edit" >Edit</ListViewCommandButton >
40
- <ListViewCommandButton Command =" Delete" Icon =" @ delete" >Delete</ListViewCommandButton >
39
+ <ListViewCommandButton Command =" Edit" Icon =" edit" >Edit</ListViewCommandButton >
40
+ <ListViewCommandButton Command =" Delete" Icon =" delete" >Delete</ListViewCommandButton >
41
41
</div >
42
42
</Template >
43
43
<HeaderTemplate >
44
- <ListViewCommandButton Command =" Add" Icon =" @ plus" >Add Employee</ListViewCommandButton >
44
+ <ListViewCommandButton Command =" Add" Icon =" plus" >Add Employee</ListViewCommandButton >
45
45
<p >In this sample, the first item will not open for editing because of the code in the OnEdit handler</p >
46
46
</HeaderTemplate >
47
47
</TelerikListView >
Original file line number Diff line number Diff line change 24
24
<br />
25
25
<TelerikDropDownList Data =" @Teams" @bind-Value =" @currEditItem.Team" />
26
26
27
- <ListViewCommandButton Command =" Save" Icon =" @ save" >Save </ListViewCommandButton >
28
- <ListViewCommandButton Command =" Cancel" Icon =" @ cancel" >Cancel </ListViewCommandButton >
27
+ <ListViewCommandButton Command =" Save" Icon =" save" >Save </ListViewCommandButton >
28
+ <ListViewCommandButton Command =" Cancel" Icon =" cancel" >Cancel </ListViewCommandButton >
29
29
</EditForm >
30
30
}
31
31
</div >
34
34
<div style =" border : 1px solid black ; margin : 10px ; padding : 10px ; display : inline-block ;" >
35
35
Employee: @context.Id <br />
36
36
Name: @context.Name in team: @context.Team
37
- <ListViewCommandButton Command =" Edit" Icon =" @ edit" >Edit</ListViewCommandButton >
38
- <ListViewCommandButton Command =" Delete" Icon =" @ delete" >Delete</ListViewCommandButton >
37
+ <ListViewCommandButton Command =" Edit" Icon =" edit" >Edit</ListViewCommandButton >
38
+ <ListViewCommandButton Command =" Delete" Icon =" delete" >Delete</ListViewCommandButton >
39
39
</div >
40
40
</Template >
41
41
<HeaderTemplate >
42
- <ListViewCommandButton Command =" Add" Icon =" @ plus" >Add Employee</ListViewCommandButton >
42
+ <ListViewCommandButton Command =" Add" Icon =" plus" >Add Employee</ListViewCommandButton >
43
43
<p >In this sample, the first item will not open for editing because of the code in the OnEdit handler</p >
44
44
</HeaderTemplate >
45
45
</TelerikListView >
Original file line number Diff line number Diff line change 11
11
<div style =" border : 1px solid black ; margin : 10px ; padding : 10px ; display : inline-block ;" >
12
12
Employee: @context.Id <br />
13
13
Name: @context.Name in team: @context.Team
14
- <TelerikButton OnClick =" @( _ => EditExisting(context) )" Icon =" @ edit" >Edit</TelerikButton >
15
- <ListViewCommandButton Command =" Delete" Icon =" @ delete" >Delete</ListViewCommandButton >
14
+ <TelerikButton OnClick =" @( _ => EditExisting(context) )" Icon =" edit" >Edit</TelerikButton >
15
+ <ListViewCommandButton Command =" Delete" Icon =" delete" >Delete</ListViewCommandButton >
16
16
</div >
17
17
</Template >
18
18
<HeaderTemplate >
19
- <TelerikButton OnClick =" @AddNew" Icon =" @ plus" >Add Employee</TelerikButton >
19
+ <TelerikButton OnClick =" @AddNew" Icon =" plus" >Add Employee</TelerikButton >
20
20
</HeaderTemplate >
21
21
</TelerikListView >
22
22
You can’t perform that action at this time.
0 commit comments