Javascrpt

The implementation of the buttons with Horisontal Scroll action for Material UI DataGrid

Material UI

If you use a Pro version of Material UI, then you have a tool, how to switch the cells in the DataGrid table. But if you work with a wide table and you just want to make it more comfortable to work with it, there are some tricks for that. The first thing is to […] Read more»

TypeScipt / Javascript

Create an array of Objects and fill it with initial values in Typescript

Obviously, it’s an ordinary case, when you get an array of objects and you need to create for the reply the array of other Objects, but you need to initialize it on load. For React developers it can be often used with useEffect or componentDidMount. Read more»

React

How to return custom date format with localization in TypeScript / JavaScript

Obviously, true developers prefer to return the date in a digital format, for example, ‘24.01.2024’, ’24-01-2024′ and various combinations of this. But customers often want to work with human dates. In this post you can find how to return the custom localized date and how to use it with a Fluent-UI component DatePicker. Read more»

TypeScipt / Javascript

How to find and use FluentUI Icons in SPFX applications

SharePoint 2016 Logo

Icons make a better view to any application. And for a developer it’s always a problem to find how to use Icons and especially where to find them. If you work with SharePoint Online solutions, this will help you (and also me) to find a place of icons and how to use them. As far […] Read more»

SharePoint

Write the elements of an array in JSX React block with a comma spacer between and a dot in the end

We have an array of strings in React Application. Let’s call it ‘selectedParticipants’. And for the summary page we need to write all the members of array in one line with comma ‘,’ between elements and dot ‘.’ in the end in JSX block. Here is a small snippet. Read more»

TypeScipt / Javascript

Get the host of the URL with JavaScript or TypeScript

Javascript logo

We have a string with an URL. And we want to get the host URL. I don’t know about the built-in functions for this and I don’t think that you should find external libraries for this. Although, it’s a good idea to create your own personal class. Read more»

TypeScipt / Javascript

A JS/TS useful snippet to return top N records ordered by time

Javascript logo

A JS/TS useful snippet to return only several last records with sorting by time. The data is stored in localStorage. I can’t modify the types for external component, so that’s why all the data has string types. and I use ‘moment’ to convert the strings to the date format. Read more»

TypeScipt / Javascript

The customizing of Tabs control from ANTD

I like the Ant Design of React and for me it’s very useful. Usually I prefer functionality to a better design and it allows me to achieve a functionality much faster. But when you do something not for yourself, you have a customer and he decides which design better. Read more»

React

Popular Posts