WPF DataGrid row click command

The Windows Presentation Foundation DataGrid control offers a huge possibilities regarding displaying tabular data. However one functionality I was always missing in data grid was the possibility to fire a command when user clicks a row.

By Mirek on (tags: DataGrid, mvvm, WPF, categories: code)

Sticky floating sidebar with pure CSS

In this short post I will show you how to make a floating but sticky elements on a side bar. The element is sticky to the bottom of the screen, but when content is scrolled then the upcoming header or footer element gets precedense and moves the sticky element around. See how it behaves on an animation.

By Mirek on (tags: css, flex, HTML, sidebar, sticky, categories: code, web)