Skip to content

Commit 1931f79

Browse files
aaronmiVesaJuvonen
authored andcommitted
Update migrate-jquery-datatables-script-to-spfx.md (SharePoint#3264)
Chaged {styles.helloWorld} to {styles.itRequests}
1 parent 46a6d8b commit 1931f79

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/spfx/web-parts/guidance/migrate-jquery-datatables-script-to-spfx.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ In the code editor, open the **./src/webparts/itRequests/ItRequestsWebPart.ts**
217217
public render(): void {
218218
this.domElement.innerHTML = `
219219
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.15/css/jquery.dataTables.min.css" />
220-
<table id="requests" class="display ${styles.helloWorld}" cellspacing="0" width="100%">
220+
<table id="requests" class="display ${styles.itRequests}" cellspacing="0" width="100%">
221221
<thead>
222222
<tr>
223223
<th>ID</th>
@@ -349,7 +349,7 @@ The last step is to include the code that initiates the data table and loads the
349349
public render(): void {
350350
this.domElement.innerHTML = `
351351
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.15/css/jquery.dataTables.min.css" />
352-
<table id="requests" class="display ${styles.helloWorld}" cellspacing="0" width="100%">
352+
<table id="requests" class="display ${styles.itRequests}" cellspacing="0" width="100%">
353353
<thead>
354354
<tr>
355355
<th>ID</th>
@@ -473,7 +473,7 @@ Initially, the name of the list from which the data should be loaded was embedde
473473
public render(): void {
474474
this.domElement.innerHTML = `
475475
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.15/css/jquery.dataTables.min.css" />
476-
<table class="display ${styles.helloWorld}" cellspacing="0" width="100%">
476+
<table class="display ${styles.itRequests}" cellspacing="0" width="100%">
477477
<thead>
478478
<tr>
479479
<th>ID</th>
@@ -617,7 +617,7 @@ Now that you have type definitions for all libraries installed in the project, y
617617
public render(): void {
618618
this.domElement.innerHTML = `
619619
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.15/css/jquery.dataTables.min.css" />
620-
<table class="display ${styles.helloWorld}" cellspacing="0" width="100%">
620+
<table class="display ${styles.itRequests}" cellspacing="0" width="100%">
621621
<thead>
622622
<tr>
623623
<th>ID</th>

0 commit comments

Comments
 (0)