New answers tagged

0

try import { sp, Web, IWeb } from "@pnp/sp/presets/all"; const web = await sp.web(); console.log(web.Title); console.log(web.Id); Be sure that you installed the correct libraries


0

This might be a better approach to add event listener in a single loop. private _renderListCustomer(items:ISPListCustomerItem[]):void{ let html:string=`<table width='100%' border=1 id="tblEmployees" class="table">`; html+=`<thead> <th scope="col">Customer Id</th> <th scope="col">Name</th> ...


0

Try the code below: (Not a good practice to repeat loops but it was the only thing working for me) private _renderListCustomer(items:ISPListCustomerItem[]):void{ let html:string=`<table width='100%' border=1 id="tblEmployees" class="table">`; html+=`<thead> <th scope="col">Customer Id</th> <th scope="col"&...


Top 50 recent answers are included