Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Load data into textarea
17/09/2008
10:08
Avatar
VySe
Member
Members
Forum Posts: 5
Member Since:
06/08/2008
sp_UserOfflineSmall Offline

Hi there ^.^

I load my grid data from a oracle DB with xml datatype, but one of the rows must return a multiline text. My XML structure is that (summarized:P)

- <rows>
  <page />
  <total>0</total>
  <records>0</records>
- <row id="1">
  <cell>1</cell>
- <cell>
- <![CDATA[
COMENTARIO

Abre un pedido para lanzar las OT's de m&aacute;quinas para stock, pero luego cuando la m&aacute;quina 
va para un cliente tendr&iacute;a que cambiarla de pedido. 
&quot;Le dijeron que se iba a poder hacer, pero a&uacute;n no sabe nada&quot;

----
Ya se habl&oacute; con &eacute;l de este tema.

  ]]>
  </cell>
  </row>
  </rows>

After loading the grid, i use an onSelectRow event to show the full text into a textarea (in the grid it shows summarized). But when i use Iexplorer for showing the grid it doesnt looks like the original text, no line breaks, no tabulations, etc but in Firefox, safari, Chrome.... it shows breaks and tabulations.

I dunno why, some help?

Thx ^^

17/09/2008
10:39
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

What do you use in onSelectRow

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

17/09/2008
10:44
Avatar
VySe
Member
Members
Forum Posts: 5
Member Since:
06/08/2008
sp_UserOfflineSmall Offline

var rev_text = jQuery("#list10_d").getRowData(ids);
var str= rev_text.Texto;
document.getElementById('qtext1').value = str;

17/09/2008
10:52
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

IMHO this is not a jqGrid problem.

Try to alert the value before putting it into the element.

What is the alert in IE and in FF? I think they are the same.

Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

17/09/2008
10:58
Avatar
VySe
Member
Members
Forum Posts: 5
Member Since:
06/08/2008
sp_UserOfflineSmall Offline

The alerts are different xDD.

>In FF:

COMENTARIO

Abre un pedido para lanzar las OT's de máquinas para stock, pero luego cuando la máquina
va para un cliente tendría que cambiarla de pedido.
"Le dijeron que se iba a poder hacer, pero aún no sabe nada"

----
Ya se habló con él de este tema.

>In IE:

COMENTARIO Abre un pedido para lanzar las OT's de máquinas para stock, pero luego cuando la máquina va para un cliente tendría que cambiarla de pedido. "Le dijeron que se iba a poder hacer, pero aún no sabe nada" ---- Ya se habló con él de este tema.

Yes, i'm also thinking that this not a jqgrid problem :S

17/09/2008
11:02
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Yes it is not jqGrid problem.

getRowData uses jQuery html function for this purpose.

Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
23 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information