- Posts: 10
- Thank you received: 0
hellow again.
i just solved my previous problem with encoding, but now i have another one.
i.imgur.com/Iq2Gi.jpg here is a screenshot
i need to insert linebreak in every place where it consists in mysql table, beacuse now the whole table shows in one line.
what file of a component i have to edit and how?
thanks!
Please Log in or Create an account to join the conversation.
Hi,
This would be file components/com_grid/layouts/GridView.php, line 266
$podatek=$this->_data[$i][$column->columnName];
$podatek=nl2br($this->_data[$i][$column->columnName]);
Please Log in or Create an account to join the conversation.
thanks it works perfectly!
Please Log in or Create an account to join the conversation.
hey again
i have another issue for you guys:
i.imgur.com/ZXfzh.jpg - screenshot
i need to set vertical aling to the "top" everywhere in display table. and set left paddings of all the rows to about 5-10 px. As it shows on a picture above
Where can i change this values and what file i have to edit?
thanks
Please Log in or Create an account to join the conversation.
I suggest using css styles.
In the last versions there are some new css classes added to Table JX. But they are not documented yet.
You can access all tables with class .tableJX
If you want to access just one table you can access it with class .tableJX[id] Example: .tableJX1
You can also specify styles for each column separately using .tableJX[id][column name] Example: .tableJX1title
I suggest that you use some kind of web developer plugin for browser like firebug, for example, and check the classes defined on JX tables.
You can put your css code either in your template css file or in /components/com_grid/css/grid.css
Regards,
Tomaž
Please Log in or Create an account to join the conversation.
thank you again!
solved it
Please Log in or Create an account to join the conversation.