EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 14, 2024, 07:01:59 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
enter
Pages: [
1
]
« previous
next »
Print
Author
Topic: enter (Read 4560 times)
wymak
Newbie
Posts: 26
enter
«
on:
July 25, 2018, 09:50:48 AM »
I return the data inside a datagrid with PHP. I want to show 2 lines in a footer cell, with:
....
....
$foot1['cost'] = "BUY Total <br> SELL Total";
$footer[] = $foot1;
....
....
the cell only display 'BUY Total', the 2nd line does not display;
any solution??
rgds,
Mak
Logged
jarry
Administrator
Hero Member
Posts: 2264
Re: enter
«
Reply #1 on:
July 25, 2018, 06:26:48 PM »
Please open your browser's debug tool and switch to Network panel, check the data returned from your server.
Logged
wymak
Newbie
Posts: 26
Re: enter
«
Reply #2 on:
July 25, 2018, 10:30:54 PM »
The output is as follow, as expected:
<div style="text-align:right;" class="datagrid-cell datagrid-cell-c2-cost">
"BUY Total "
<br>
" SELL Total"
</div>
However, the "SELL Total" line cannot be displayed in the datagrid cell box.
BTW, if I remove the '<br>' in the PHP source, it will display "BUY Total SELL Total" in one line.
Any enlightenment?
Thx,
Mak
Logged
jarry
Administrator
Hero Member
Posts: 2264
Re: enter
«
Reply #3 on:
July 26, 2018, 02:40:31 AM »
Please look at this example
http://code.reloado.com/acelaf3/edit#preview
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...