Skip to content

Commit 42f054d

Browse files
authored
Update Demos (#54)
1 parent 2b4d87e commit 42f054d

File tree

170 files changed

+442
-1835
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+442
-1835
lines changed
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
<div>The navigation is restricted from 01/01/2010 to 01/01/2021</div>
1+
<div style="text-align: center; width: 250px; font-family: 'Verdana', sans-serif; font-size: 13px;">
2+
The navigation is restricted from 01/10/2020 to 01/12/2020
3+
</div>
4+
25
<br />
36

47
<JqxCalendar
58
width=220 height=220 min=min max=max>
69
</JqxCalendar>
710

811
@code {
9-
DateTime min = new DateTime(2010, 1, 1);
10-
DateTime max = new DateTime(2020, 11, 31);
12+
DateTime min = new DateTime(2020, 10, 1);
13+
DateTime max = new DateTime(2020, 12, 1);
1114
}

demos/calendar/restricteddates/App.razor

Lines changed: 0 additions & 7 deletions
This file was deleted.

demos/chart/barseries/App.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"labels",
6969
new Dictionary<string, object>()
7070
{
71-
{ "visible", true }
71+
{ "visible", false }
7272
}
7373
}
7474
};

demos/chart/columnseriesspacing/App.razor

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -383,25 +383,24 @@
383383

384384
public void eventHandler(IDictionary<string, object> e, int series, string propName)
385385
{
386-
Console.WriteLine(1);
387386
if (seriesGroups.Count != 0)
388387
{
389388
if (seriesGroups.Count < 2)
390389
{
391-
var a = seriesGroups[0]["series"] as Dictionary<string, string>[];
390+
var a = seriesGroups[0]["series"] as Dictionary<string, object>[];
392391

393-
string serieDataField = a[0]["dataField"];
394-
Console.WriteLine(serieDataField);
392+
string serieDataField = a[0]["dataField"].ToString();
395393
int serie = serieDataField == "Serie1" ? 0 : 1;
394+
396395
if (series != serie)
397396
{
398397
return;
399398
}
399+
400400
seriesGroups[0][propName] = e["value"];
401401
}
402402
else
403403
{
404-
Console.WriteLine(2);
405404
seriesGroups[series][propName] = e["value"];
406405
}
407406
}
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<div style="text-align: center; width: 250px; font-family: 'Verdana', sans-serif; font-size: 13px;">
2-
The navigation is restricted from 01/01/2017 to 01/01/2020
2+
The navigation is restricted from 01/10/2020 to 01/12/2020
33
</div>
4+
45
<br />
56

67
<JqxDateTimeInput width="250" height="25" min="min" max="max"></JqxDateTimeInput>
78

89
@code {
9-
DateTime min = new DateTime(2017, 1, 1);
10-
DateTime max = new DateTime(2019, 11, 31);
10+
DateTime min = new DateTime(2020, 10, 1);
11+
DateTime max = new DateTime(2020, 12, 1);
1112
}

demos/datetimeinput/righttoleft/App.razor

Lines changed: 0 additions & 1 deletion
This file was deleted.

demos/formattedinput/events/App.razor

Lines changed: 0 additions & 46 deletions
This file was deleted.

demos/formattedinput/keyboardnavigation/App.razor

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
width=250 height=25 radix=radix value=value spinButtons=false dropDown=true>
33
</JqxFormattedInput>
44

5+
<br />
6+
57
<div style="font-family: Verdana; font-size: 12px; width: 400px; margin-left: 20px; float: left;">
68
<ul>
79
<li><b>Tab</b> - Like other widgets, the jqxFormattedInput widget receives focus by

demos/gauge/defaultfunctionality/App.razor

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,8 @@
126126
<style>
127127
.gaugeValue {
128128
position: absolute;
129-
top: 235px;
129+
top: 275px;
130130
left: 140px;
131-
font-family: Sans-Serif;
132131
text-align: center;
133132
font-size: 17px;
134133
width: 70px;

demos/grid/dataexport/App.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
row.Add("lastname", lastNames[random.Next(0, lastNames.Length)]);
139139
row.Add("productname", productNames[random.Next(0, productNames.Length)]);
140140
row.Add("available", random.Next(2) % 2 == 0 ? true : false );
141-
row.Add("data", new DateTime().AddDays(random.Next(500)));
141+
row.Add("date", new DateTime().AddDays(random.Next(500)));
142142
row.Add("price", price);
143143
row.Add("quantity", quantity);
144144
row.Add("total", price * quantity);

0 commit comments

Comments
 (0)