CSS

Horizontal scroll of Div on Button Click in React

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»

TypeScipt / Javascript

Customize Filter Styles in DataGrid MUI

Material UI

If you want to customize the styles for filter panels in DataGrid from Material UI (MUI), you need to know, where it is. And only so. To update these styles you can only with the object properties. Read more»

React

How to create a striped DataGrid in Material UI (React, TypeScript)

Material UI

DataGrid looks like a table, but it’s another component, it consists of multiple div-elements. But for a user it’s a table and common table attributes are often required. One of them is striped rows. Below there’s an example how to implement it. Read more»

React

How to make the component TextField in Material UI small

Material UI

To modify the size of the TextField component in Material UI, you can make several things. The basic modification is obvious, but other ones are not so. By default, the component TextField is rather big and it’s really a common task to make it less. Read more»

React

Add SVG as a background image to a CSS class

If you want to set a background image for an element in CSS, you can do it at least in 2 ways. Which one fits you, it depends on your tasks and the tools you work with. This way of adding a SVG image as a background can be applied for any CSS property, for […] Read more»

React

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

Add external CSS or styles to SPFX solution

SharePoint 2016 Logo

When I started to work with SPFX solutions for SharePoint, I couldn’t understand how to load external CSS files. I came up with one solution, but it was a crutch. I did it with embedding <styles> tag into JSX. It looked like this: Read more»

React

Open specific tab on page load with JQuery UI

jQuery logo

I made a simple HTML page with JQuery UI tabs. But the customer asked to give URLs for each tab. I was a bit surprised with it, because I remember only how to make default tab on page load. You can do it with the syntax like this: $(“#tabs”).tabs( { selected: x  });  where ‘x’ […] Read more»

TypeScipt / Javascript

Chain multiple selectors in jQuery

jQuery logo

If you want to apply the same action for multiple selectors in jQuery, you should write down their identificators separated by comma. It can be as simple ID of elements, their classes or something more difficult. Read more»

TypeScipt / Javascript

Popular Posts