DHTMLX Docs & Samples Explorer

Index
dhtmlxgrid

## Formatting Excells

### link

It treats the value as a link source and renders it as a link (A tag).
The corresponding cell value in XML should be a “^” delimited list of the following values:
1st - Link Text;
2nd - URL (optional), must not contain single quotes;
3rd - target (optional, default is blank).

        Dummy link
        Real link^http://dhtmlx.com
        Real link^http://dhtmlx.com^_blank
        Real link^javascript:doSomething("param1","param2","param3")^_self

### img

It treats the value as an image source and renders it as an image (IMG tag).
The corresponding cell value in XML should be a “^” delimited list of the following values:

1st - image src;
2nd - image alt text (optional);
3rd - link (optional);
4rd - target (optional, default is _self).

        some.gif
        some.gif^alte text
        some.gif^alt text^http://dhtmlx.com^_blank
        some.gif^alt text^javascript:doSomething()^_self

### price

It renders the value as the price amount (prepending $ sign, value >0 is rendered in green, other values are rendered in red).

### dyn

Stands for different coloring and marking based on the value (sales dynamic oriented).