Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Simon on May 14, 2008 19:21
open dhtmlx forum
link newline problem

thank you for quickly reply.
I have new problem,
when i set grid a column type link, but the link length longer than the column width, how does the link automatic adjust its length
not to exceed the column width by newline.
thanks
Answer posted by Support on May 15, 2008 05:28

The grid can work in two modes

a) fixed line heigh - the heigh of row fixed, content inside row can't generate new lines
b) flexible heigh - heigth of row defined by content and you can't control it

Current mode defined by
    grid.enableMultiline(...

Basically, you can force all links in grid to be single-line by adding next css rule

<style>
     div.gridbox A { white-space:nowrap; }
</style>