Press "Enter" to skip to content

Posts tagged as “Javascript”

K2 Smartforms: How to make Textarea resizable

0

By default Textareas have static width and height. But with a piece of code you can make it resizable: You need to do the following: Add a textarea onto your…

K2 Smartforms: Rich Text Control with dynamic height

0

The customer approached me with the following requirement: “Rich Text control should change height dynamically and adjust to the content so that there is no vertical scrollbar.” Below you will…

Hamburger menu instead of standard tabs

0

Below you can find a piece of code, which can be used to turn the standard panel menu into a hamburger one when you open the form on a mobile…

How to place a view above tabs in Smartforms

5

When you develop your application correctly, you should reuse web-parts and other components. Header and Footer views are one of those. So it would be great to place a view above tabs in Smartforms. Because on a form with several tabs and you want each tab to look alike. Therefore, you have place the Header on each tab and moreover, fill it with some data, which is redundant. Or you can use a bit of JavaScript...

Выделение нескольких элементов в ListView

0

В смартформах пока что еще не предусмотрен функционал выделения нескольких элементов в представлении списка. Особенно очень часто полезным бывает именно использование чек-боксов. Я покажу, как можно с помощью javascript и…