Comments (4)
You can manipulate the arrays using the standard array methods such as slice.
Obviously we can make things easier - what would that look like? Would each control/column etc. have a delete or remove? What should happen to controls in a section if I delete it - delete them or keep them somehow?
from pnpjs.
Ah never thought of that :). So if i remove the items from the array when the page save happens will that detect the sections/columns have gone and delete them?
In terms of controls its difficult but you could have a method with some overloads. The default could be there are deleted and you pass a flag to say false and it moves them to the first section. Alternatively the overload could be to pass a section and column where any controls would go instead of being deleted. What you think?
from pnpjs.
Added a remove method to section, column, and part that will take them out of the collection.
from pnpjs.
This issue is locked for inactivity or age. If you have a related issue please open a new issue and reference this one. Closed issues are not tracked.
from pnpjs.
Related Issues (20)
- How to get spContext in PCF component using PnPJS + MSAL (needed for ModernTaxonomyPicker) HOT 3
- Error while importing PnP js in Node (CommonJS) application HOT 9
- Property 'web' does not exist on type 'SPFI'. HOT 4
- Getting TypeError: Cannot read properties of undefined (reading 'aadTokenProviderFactory') when using sp pnp graph HOT 3
- Need help in understanding the Sharepoint Patterns and Policies. HOT 5
- Help insert Managed Metadata Data into a multivalue field HOT 3
- gettoken for another Azure APP using client id and pnpjs authenticated instance HOT 5
- SPFx Context supplied to SPFx Behavior is null or undefined HOT 2
- Parsing verbose JSON HOT 2
- Adding Excel workbook support HOT 3
- TypeError: Failed to fetch at c when trying to attach files in SPFx HOT 6
- @pnp/graph - spfx msal v3 single sign on redirect HOT 5
- copyByPath can return an unuseable object HOT 6
- Async Iterator Pattern Type Error HOT 3
- Getfilebyserverrelativeurl return corrupted file for .docx file HOT 3
- Batching multiple lists fail HOT 4
- Custom Http request to pull RateLimit-Reset header HOT 3
- Why use the .js extension in imports? HOT 3
- Email Notification delays while send email using @pnp/sp/utilities HOT 9
- Get Version History of a List Item in one request. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pnpjs.