How to insert N strings of text to each row of the existing table
We have a table in word document and now we need to add new rows from the existing text. The text was copied from the text editor Notepad. Read more»
We have a table in word document and now we need to add new rows from the existing text. The text was copied from the text editor Notepad. Read more»
To pass parameters via Get, it was necessary to assemble a string from the selected Checkbox values. In the project, I used Checkbox from Fluent UI, but the approach is similar for another component. Actually, this is not even about React, but about TypeScript. Read more»
As it turned out, FluentUI DatePicker for React doesn’t contain a built-in German localization. If you need one, you can use my version. Read more»
There’s a small snippet to check if current user permissions are enough to save list items. It can be used in SPFX webparts with PNP JS. Read more»
When you work with common modern React application (React > 16) and webpack, it’s easy to create .env files and use them in the project. But if you work SPFX solution, which uses GULP, it’s a big mess. That’s why I decided to describe the sequence of steps how to use different environments in SPFX […] Read more»
Below you can find a small snippet to calculate the difference between 2 times in string format in TypeScript. If you use JavaScript, remove the types. Read more»
The code of the React component to scroll DIV content by axe X. It can be useful when you have a wide table and a narrow screen. Or a designer had a very cool idea of the interface. Read more»
There are a lot of cases when you need to get the items by the author. For me the only correct way to get the SharePoint list items by user with CAML is like this: Read more»
In HTML tag ‘input type = number’ is not very user friendly. So, I always implement it as a text with transformation text to number. Read more»
I needed to check if the tables are in the database or not. Here is an example of the SQL query – it returns 1 if one of the tables exists and 0 if they do not exist. Read more»