Press "Enter" to skip to content

Posts tagged as “K2 SmartForms”

Using icon fonts in K2

0

Recently I had an internal discussion within my team, that K2 Smartforms has a limited number of icons, that a user can use with the out-of-the-box controls, like buttons or data labels. We all agreed, that we need more. However, even if we have 1000 icons to be used with buttons, some other customers will always require more or something totally different. Therefore, I decided to write a short article to demonstrate, how you can quickly and easily add icon fonts in K2 to get almost unlimited number of icons for your purposes.

Changing view background in K2 Smartforms

1

Changing a view background in K2 Smartforms is not available out of the box. Moreover, if you need to create a reusable component with the new background, which you can then reuse across one or multiple applications. Here I will quickly explain, how you can change view background in K2 Smartforms with the help of JavaScript. Please, refer to the post How to add JavaScript on Smartforms, if certain steps are not clear.

How to find a control instance with JavaScript

0

Very often people try to find a control instance with JavaScript in K2 Smartforms. The approach, discussed in this article, can be used to find certain controls. However, this is not something you need on a daily basis, but rather rarely for certain functionality, that is not available out of the box. When you need to inject something and need to set or get the value of a control.

Rotate column headers in a List View

0

I do not know, if I want to share way, how you can change column text direction in a List View, because one of the approaches is very simple. However, I spent a some time, thinking how this could be done with CSS or JavaScript. I came up with 2 solutions: stupid simple and more sophisticated

Scroll to top button

0

Various preferences of customers define the layout of their forms. Some prefer the forms with tabs, others – everything on one page. Quite often you can have big forms and…

Custom Control vs JavaScript Injection

0

K2 Smartofrms is a designer of user interfaces. It helps you build forms for applications of various complexity. Even though there are a lot of standard components, events, actions, themes, we do not fully control the Document Object Model (DOM). That is produced by the K2 Smartforms engine. But what if we need something non-standard? What if we need to exceed the limits?