HTML-Code displayed instead of value
To color cells of a report column I entered some code code in "HTML Expression" of a column.
e.g. the cell INT_DATE should be green if the value of INT_FA is "A", and if it is not "A",
then - depending on the value of INT_DATE and TAGDAT - the
cell value INT_DATE should be red or black. This works fine:
<script language="javascript">
if ( '#INT_FA#' == 'A' )
document.writeln('<font color=#33CC33>#INT_DATE#</font>')
else
if ( '#INT_DATE#' > '#TAGDAT#' )
{ document.writeln('<font color=#FF0000>#INT_DATE#</font>') }
else
{ document.writeln('<font color=#000000>#INT_DATE#</font>') }
</script>
But for another column INT_FA the similar code produces code display in the tabular cell !!!
The code is:
<script language="javascript">
if ( '#INT_FA#' == 'A' )
document.writeln('<font color=#33CC33>#INT_FA#</font>')
else
if ( '#INT_DATE#' > '#TAGDAT#' )
{ document.writeln('<font color=#FF0000>#INT_FA#</font>') }
else
{ document.writeln('<font color=#000000>#INT_FA#</font>') }
</script>
Any idea why ?
Heinz
To color cells of a report column I entered some code code in "HTML Expression" of a column.
e.g. the cell INT_DATE should be green if the value of INT_FA is "A", and if it is not "A",
then - depending on the value of INT_DATE and TAGDAT - the
cell value INT_DATE should be red or black. This works fine (everywhere you see "fon" replace it by "font" !!!)
<script language="javascript">
if ( '#INT_FA#' == 'A' )
document.writeln('<fon color=#33CC33>#INT_DATE#</fon>')
else
if ( '#INT_DATE#' > '#TAGDAT#' )
{ document.writeln('<fon color=#FF0000>#INT_DATE#</fon>') }
else
{ document.writeln('<fon color=#000000>#INT_DATE#</fon>') }
</script>
But for another column INT_FA the similar code produces code display in the tabular cell !!!
The code is:
<script language="javascript">
if ( '#INT_FA#' == 'A' )
document.writeln('<fon color=#33CC33>#INT_FA#</fon>')
else
if ( '#INT_DATE#' > '#TAGDAT#' )
{ document.writeln('<fon color=#FF0000>#INT_FA#</fon>') }
else
{ document.writeln('<fon color=#000000>#INT_FA#</fon>') }
</script>
Any idea why ?
Heinz
Similar Messages
-
HTML code displayed in browser
when viewing the jsp pages from remote network, we are having a problem. The page ends abruptly and the html tags like <td width="30" > are displayed on the browser. the content of the page also ends at the point of html code display. the server console shows no error. Not sure if it is some network or server issue. Please help.
posting & quot(no space between & and quot) its getting replaced by " so everywhere there is a space between & and <quot/lt/gt/amp) strip that while using.
HTML reserved characters are & quot; & amp; & lt; & gt; for ", &, <, > respectively.
while writing such characters, do not directly put < , > &, " use the chars shown above.
for help here is the utility method that will put the desired chars:
public static String escapeHTML(String value)
if (value == null) return "";
StringBuffer strval = new StringBuffer();
for (int i = 0; i < value.length(); i++)
char ch = value.charAt(i);
switch (ch)
case '"': strval.append("& quot;"); break;
case '&': strval.append("& amp;"); break;
case '<': strval.append("& lt;"); break;
case '>': strval.append("& gt;"); break;
default:
if (ch > 126)
strval.append("&#" + String.valueOf(ch) + ";");
else
strval.append(ch);
break;
return strval.toString();
} -
HTML code displays on one line in browser view source
Hi,
In Dreamweaver, my HTML code displays returns, spaces, etc. However, in the view source option in a browser (Firefox in particular), all the code is displayed on one single line. I only found about this because I was having problems with my Google Ads not displaying. (A Google customer service person helped me to find a workaround for this since I still haven't figured how to get my code to display correctly.) So I have gone to Preferences in DW and changed my Code Format Line Break type. The result is the same with each of the three options: the code is all on one line when you check it under view source in a browser. (The server is Linux.)
Does anyone know how to fix this? Also, I think I know how this happened in the first place. I copied my code to TextEdit for a quick backup the other day, and then I pasted it back to DW. Bad idea? Is the only way to get the code back to normal to re-write it in a new HTML file in DW?Pssh. Problem solved, but I'm not quite sure how. I did go back and try to clean up some redundant CSS and other things, but the HTML/CSS validator still shows that I have this one invalid <header> tag (www.nextmontenegro.com), but since that was written as part of the DW template, I just left it. Weird. Anyway, the code flows down the page now.
Thanks for the quick replies and helpful hints:-) -
HTML Code Display - Disappearing???
(RH8, CHMs)
Hello,
Running into an issue, not sure how to fix this.
I am building a link to an external .htm file that will be included with our help CHMs. It's staying external because this allows us to update it at any time without having to update any CHM itself by re-importing and building. The html files are in the same folder as the help CHMs.
Normal hyperlinking doesn't seem to work - the CHM can't apparently see the content of topic, and may be running into an issue because it appears to be trying to open within the help screen rather than through a browser like IE or Firefox.
So I did some googling and found the following html code which works like a charm:
http://www.cybertext.com.au/tips_HTML_chm_external.htm
<OBJECT id=hhctrl
type="application/x-oleobject"
classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"
codebase="hhctrl.ocx#Version=4,73,8412,0"
width=100
height=100>
<PARAM name="Command" value="ShortCut">
<PARAM name="Font" value="Arial, 10pt">
<PARAM name="Text" value="Text:Doc name">
<PARAM name="Item1" value=",document.ext,">
</OBJECT>
The issue I'm running into is that this code doesn't display in RoboHelp itself. That is, if I view the topic in Design mode, the hyperlink text ("Doc name" in the example above) never shows. And if I go between design and html, or close and reopen, the code disappears in the HTML view as well. The code is still there - the links show up as designed (and work) whenever I compile the project. I just can't find a way of getting them to display in RH beyond staying in the HTML view for that topic after inserting the code.
Any ideas why this is happening, and what can be done?You could try an iFrame. Much easier in RoboHelp 9 I believe but also available in RoboHelp 8.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Html code exported instead of text
Hi,
I created an interactive report via a SQL query and used html code for one column in this SQL query:
(case when test1>1 then '{a href=JavaScript:newPopup("f?p=&APP_ID.:PageId:&SESSION.::&DEBUG.:::"); }text1{a} else '' end )|| ' '|| (case when test2>1 then 'text2' else '' end ) "title 1"
This column is displayed correctly (the text1 is diplayed as a link and text2 is displayed as text) in this interactive report, however, once user uses the download function, the html code {a href=JavaScript:newPopup("f?p=&APP_ID.:PageId:&SESSION.::&DEBUG.:::"); }text1{a} text2 is exported.
Is there any way to fix this issue?
Thanks,
EthanCan you tell us - exactly - what file your link is pointing
at. For instance, it should be pointing at the HTM file, but which
HTM file?
Also, can yo uplease list - exactly - what ifles you have
uploaded (list). Thanks! -
Right its like this....
I can now get my data from my database (no small victory in itself. Thanx to all those that gave assistance). One of the fields contains HTML code
<p>blah blah etcWhen the jsp displays the output it is actually showing the HTML code, not the rendered output... viewing source shows that it has been written to the response as
& lt;p & gt;blah blah blah.....(needed the spaces to show it correctly!)
Any clues as to why and what I can do to about it?
Thanks
Elijado a replaceAll.., if you are using Java 1.4
String str = orig.replaceAll("& lt;", "<").replaceAll("& gt;", ">");
You might need escapes for some of those chars for the regex parser. Or this older code I had laying around:
* Decodes any entities in the specified string with their character
* equivalents.
* @param str the encoded string
* @return the decoded string
private String decodeEntities(String str) {
if(str == null) {
return null;
StringBuffer sb = new StringBuffer(str);
String[] ents = { // list of entities to replace
"&", "<", ">", "'", """
String[] chars = { // list of characters to replace with
"&", "<", ">", "\'", "\""
int len = Math.min(chars.length, ents.length);
int k = 0;
for(int i = 0; i < len; i++) {
for(int j = 0; j < sb.length(); j++) {
k = j + ents.length();
if(k >= sb.length()) {
break;
if(sb.substring(j, k).equals(ents[i])) {
sb.replace(j, k, chars[i]);
return sb.toString(); -
Apex 2.2 - Correct Broken html code displaying ( " /html" ) due to data
Yes. We are running version 2.2. Apex 4.0 isn't an option right now.
French characters are causing the broken code "</html" to display at the bottom of the page
when the data is pulled from the database.
I have tested the page with non-french characters and the broken code does not appear.
The region is a sql query updateable report region. The query is a straight forward query, just
pulling whatever is sitting in the columns.
The primary language for this page and all pages in the application is English.
How does one get around this display error?
Thank YouThis is frequently caused by failing to meet APEX installation and configuration requirements. Ensure the DAD character set is AL32UTF8 and the correct version of the PL/SQL Web Toolkit is used.
The DAD may be at the location indicated in the documentation link below, or it may be somewhere else depending on the local configuration. The PL/SQL Web Toolkit can be checked using the query <tt>select owa_util.get_version from dual</tt> in the SQL Workshop.
http://download.oracle.com/docs/cd/B31036_01/doc/install.22/b28552/post_inst.htm#BHADHBBG
http://download.oracle.com/docs/cd/B31036_01/doc/install.22/b28552/post_inst.htm#BHAJFIGJ -
Hub transport raw HTML code displays when iOS client used to send message
Has anyone else encountered (and hopefully fixed) this problem? I use HTML coding to format the signatures for my staff at the hub transport rule level. Here's an example:
<br><p style='font-size:12pt; font-family:"Arial","sans-serif"'><b>%%CustomAttribute1%%</b><br>
%%Title%%<br>
Tel: %%PhoneNumber%%<br>
Fax: %%FaxNumber%%<br>
%%Email%%<br><br>
<img border=0 width="240" height="62" src="http://wiglefamily.net/CABVI/CABVILogo.jpg" alt="CABVI Logo"><br>
<a href="www.cincyblind.org">www.cincyblind.org</a></p>
<p style='font-size:8pt;font-family:"Arial","sans-serif"'>Disclaimer: The information contained in this electronic mail message may be confidential and protected information intended only for the use of the individual or entity
named above. As the recipient of this information you may be prohibited by State and Federal law from disclosing this information to any other party without specific written authorization from the individual to whom it pertains. If you have received
this communication in error, please notify us immediately and destroy the message and its attachments. </p>
It looks great when I sent from Outlook or even Android mail clients. However, when sent from iOS mail clients I get the following in the signature:
<html>
<body>
Michael Wigle IT Manager Tel: 513-487-4243 Fax: 513-221-2995
[email protected] [CABVI Logo] www.cincyblind.org Disclaimer: The information contained in this electronic mail message may be confidential and protected information intended only for the use of the
individual or entity named above. As the recipient of this information you may be prohibited by State and Federal law from disclosing this information to any other party without specific written authorization from the individual to whom it pertains.
If you have received this communication in error, please notify us immediately and destroy the message and its attachments.
</body>
</html>
As you can see, the raw HTML code shows but the AD variables populate correctly. Any ideas on a solution for this problem?See this for the pipeline tracing:
http://technet.microsoft.com/en-us/library/bb125198(v=exchg.80).aspx
There's a link in that article that takes you to:
http://technet.microsoft.com/en-us/library/bb125018(v=exchg.80).aspx
FYI, I think you're still a bit confused. Once again you said *from* when you meant *to*! :-)
--- Rich Matheisen MCSE&I, Exchange MVP -
Display Javascript array value OnChange instead of Bean value
I intially loop through a collection of employees display the values within the employee loop I have a select statement that i loop through a collection of programs that has on OnChange. I want to display the javascript value instead of the bean value onChange. The following code displays the bean value initally and onChange it displays both because the if is never false?
*<c:if test="${programs[programIndex] != emps.department}">${emps.department}</c:if>*
* <div id="programText"> </div>*
* <input name="department" type="hidden" id="department">*
JSP page
<jsp:useBean id="programs" scope="request" class="java.util.Collection"/>
<jsp:useBean id="employeeList" scope="request" class="java.util.Collection"/>
<script language="JavaScript" type="text/javascript">
var programs = new Array();
function setProgramFields() {
nameField = document.getElementById("programList");
idx = nameField.selectedIndex;
emField = document.getElementById("programText");
emHiddenField = document.getElementById("department");
emField.innerHTML = programs[idx];
emHiddenField.value = programs[idx];
<c:forEach var="emps" items="${employeeList}">
<td width="170px">
*<c:if test="${programs[programIndex] != emps.department}">${emps.department}</c:if>*
* <div id="programText"> </div>*
* <input name="department" type="hidden" id="department">*
</td>
<td width="275px">
<div class="selectBorder">
<select name="programName" type="text" class="searchProgram" id="programList" onChange="setProgramFields()">
<c:set var="programIndex" value="0"/>
<c:forEach var="sp" items="${programs}">
<c:if test="${sp.programName == emps.programName}">
<option value="${emps.programName}" selected="selected">${emps.programName}</option>
</c:if>
<c:if test="${sp.programName != emps.programName}">
<option value="${sp.programName}">${sp.programName}</option>
</c:if>
<script language="JavaScript" type="text/javascript">
programs[${programIndex}] = "${sp.department}";
</script>
<c:set var="programIndex" value="${programIndex + 1}"/>
</c:forEach>
</select>
</div>
</td>
</c:forEach>
Edited by: kmb_ms on Sep 15, 2008 2:38 PMApologize for not formatting the code. I used the status.index the code as suggested. The code if more efficient but the results are the same and I still have the same problem.
<select name="programName" type="text" class="searchProgram" id="programList" onChange="setProgramFields()">
<c:forEach var="sp" items="${programs}" varStatus="status">
<c:if test="${sp.programName == emps.programName}">
<option value="${emps.programName}" selected="selected">${emps.programName}</option>
</c:if>
<c:if test="${sp.programName != emps.programName}">
<option value="${sp.programName}">${sp.programName}</option>
</c:if>
<script language="JavaScript" type="text/javascript">
departments[${status.index}] = "${sp.department}";
</script>
</c:forEach>
</select> How can I access the value of the array to compare with the value of the bean.
<script language="JavaScript" type="text/javascript">
var departments = new Array();
function setProgramFields() {
nameField = document.getElementById("programList");
idx = nameField.selectedIndex;
emField = document.getElementById("departmentText");
emHiddenField = document.getElementById("department");
emField.innerHTML = departments[idx];
emHiddenField.value = departments[idx];
</script>The following code displays both the value of the bean and the value of the array onChange b/c the if statement is always true???? This is where I need help.
<td width="170px">
<c:if test="${departments[idx] != emps.department}">${emps.department}</c:if>
<div id="departmentText"> </div>
<input name="department" type="hidden" id="department">
</td> -
Htmldb_item displays the value of items as HTML code
I have created an SQL Query(Updateable Report) with 1 edit column. I am trying to display the data and to do Multi-row updates using HTMLDB.Item.
The data displays as HTML code when I define the element as a "Text Field".
The data displays fine when I define the element as a "Standard Report Column", but then I can't edit it.
Here is the code I use in my Sql Query:
Select x.seq_no, x.tpc_note
from
(select HTMLDB_ITEM.HIDDEN(1,CONSULTANT_NO) consultant_no,
HTMLDB_ITEM.TEXT(2,SEQ_NO) Seq_no,
HTMLDB_ITEM.TEXT(3,TPC_NOTE,4,75) Tpc_note
from wb_tpc_consultant_notes
where company = v('p1_company') and
consultant_no = v('p1_consultant_no')
union all
select HTMLDB_ITEM.HIDDEN(1,null) consultant_no,
HTMLDB_ITEM.TEXT(2,((select max(seq_no)
from wb_tpc_consultant_notes where
company = v('p1_company') and
consultant_no = v('p1_consultant_no')) + nvl(:p2_rows,1))) Seq_no,
HTMLDB_ITEM.TEXT(3,null,4,75) Tpc_note
from all_objects where rownum < nvl(:P2_ROWS, 2)) x
order by 1
Any ideas on what I am doing wrong? I cannot find any documentation on using the Htmldb_item API.
Thanks
DebbieYes. I have done that. When I set it to Standard Report Column it displays fine.
Then when I type in changes and click the apply changes button, it always goes back to the original value.
Here is the code behind the apply changes button:
For i in 1..htmldb_application.g_f01.count loop
if htmldb_application.g_f01(i) is not null then
update wb_tpc_consultant_notes
set tpc_note = htmldb_application.g_f03(i)
where company = v('p1_company') and
consultant_no = v('p1_consultant_no') and
seq_no = htmldb_application.g_f02(i);
else
if htmldb_application.g_f01(i) is null then
insert into wb_tpc_consultant_notes
(company,
consultant_no,
seq_no,
tpc_note)
values
(v('p1_company'),
v('p1_consultant_no'),
htmldb_application.g_f02(i),
htmldb_application.g_f03(i));
end if;
Debbie -
Display HTML code in WebDynpro for ABAP
Hi, I would like to display a html page in a WebDynpro View, ie: I have the html code in a "string" variable and would now display this string now not with the html tags visible, but as a "real" html page.
I found a thread in WebDynpro for ABAP but I am a little bit lost in converting the logic to ABAP world.
Thanks>I found a thread in WebDynpro for ABAP but I am a little bit lost in converting the logic to ABAP world.
I'm a little bit confused by this statement. Do you mean you found a thread in Web Dynpro Java, perhaps?
Regardless the approach is possible using the iFrame UI. The warning about the iFrame is that it is deprecated in NetWeaver 7.0 and 7.01 and my not be usable depending upon your support package level. However in NetWeaver 7.02 the iFrame returns to fully supported status.
If you have the HTML content in a string, you can simply place it into the ICM cache. This will provide a temporary URL for the content (you supply the lifetime of the URL) that can be referenced via the iFrame URL or even the LinkToURL if you want to open in a new window.
Here is the code for placing the string into the ICM Cache:
****Create the cached response object that we will insert our content into
data: cached_response type ref to if_http_response.
create object cached_response
type
cl_http_response
exporting
add_c_msg = 1.
try. " ignore, if compression can not be switched on
call method cached_response->set_compression
exporting
options = cached_response->co_compress_based_on_mime_type
exceptions
others = 1.
catch cx_root.
endtry.
****set the data and the headers
data: l_app_type type string.
cached_response->set_cdata( lv_html_text ).
l_app_type = 'text/html'.
cached_response->set_header_field( name = if_http_header_fields=>content_type
value = l_app_type ).
cached_response->set_status( code = 200 reason = 'OK' ).
cached_response->server_cache_expire_rel( expires_rel = 60 ).
data: guid type guid_32.
call function 'GUID_CREATE'
importing
ev_guid_32 = guid.
concatenate '/sap/public' '/' guid '.' 'html' into lv_iframe_url.
****Cache the URL
cl_http_server=>server_cache_upload( url = lv_iframe_url
response = cached_response ).
wd_context->get_element( )->set_attribute(
name = `IFRAME_URL`
value = lv_iframe_url ). -
SharePoint RSS - Can not display bold or recognise HTML code
· Hi there
I’m importing feeds from Google blog search; the SharePoint RSS viewer part is failing to recognise of execute HTML code in the feed title. The feed is as follows:
<item>
−
<title>
<b>IELTS</b> Reading Test - How to Prepare | <b>IELTS</b> Preparation Tests
</title>
−
<link>
http://www.ielts-preparation-tests.com/preparing-for-the-ielts-reading-test/
</link>
−
<description>
Students who seek enrollment in institutions based in Australia, Britain, Ireland, New Zealand and South <b>Africa</b> need to take this exam. One million students take the <b>IELTS</b> every year and as such the competition is very high among the ...
</description>
<dc:publisher>IELTS Preparation Tests</dc:publisher>
<dc:creator>admin</dc:creator>
<dc:date>Mon, 19 Oct 2009 11:06:57 GMT</dc:date>
</item>
The output on SharePoint is;
<b>IELTS</b> Reading Test - How to Prepare | <b>IELTS</b> Preparation Tests
Monday, October 19, 2009 - Students who seek enrollment in institutions based in Australia, Britain, Ireland, New Zealand and South Africa need to take this exam. One million students take the IELTS every year and as such the competition is very high among the ...
More...
Note: the title doesn’t recognise the bold HTML code, is the a way to for it to display bold or to filter all HTML tags out?
Please help.Hello nkokhi
On Rss webpart, click on edit Webpart, on "Data View Properties" select "XSL Editor".
find Tag "<xsl:value-of select="title" />" and add the line disable-output-escaping="yes", to assume the format as "Rich Text" then the html tag will disapear.
Example:
<xsl:value-of select="title" disable-output-escaping="yes"/>
André Lage Microsoft SharePoint, CRM and Sybase Consultant
Blog:http://aaclage.blogspot.com
Codeplex:http://spupload.codeplex.com/http://simplecamlsearch.codeplex.com/ -
How to use h:message to display HTML code in message from property file
I am using <h:message for="somecomponentid"/> to display the error message for a validator attached to a component and the error message which resides in message property file contains HTML elements like <br> and
The HTML doesnt get displayed properly and the code <br> etc is displayed instead.
Is there a method to get h:message to display HTML elements correcly.
[I know there is an h:outputFormat which has an escape parameter to allow HTML to be rendered correcly but it has no for parameter to specify the component id whose validation error message I want to display]
eg.
<h:message for="somecomponentid"/>
to display from errormessages.properties
com.somecompany.thevalidationerrormessage=You have an error<br> Please click here to return to homepageHello Ivan,
Fortunately I have just recently found a solution to my problem by using code by a developer who had already had this problem in the past and who provided a patch on the Apache MyFaces jira site.
See following link for the solution I downloaded and then used :
http://issues.apache.org/jira/browse/MYFACES-155
I believe they are intending to eventually release this in a future release of MyFaces extensions on this site.
I used the escape attribute on the tag to allow 'escaped' html code in error messages to be used.
Hope it solves your problem too..
Suhel -
Displaying HTML code/document within a SIEBEL applet
Dear All,
I have a new requirement which is to integrate an external html document/code within a Siebel's applet in my Home Screen/View. This HTML code is DYNAMIC and it will change depending the user connected. It will give general informations.
I tried to use a new calculated field in the relevant BC then I added it as control (HTML Type = Field - HTML Display Mode = DontEncodeData - Runtime = Y - Visible = Y) within the applet.
Unfortunately the field property 'Calculated Value' is restricted to 255 caracters. Everything is fine when the HTML code length is less than 255. When it is greater because teh HTML code is more complex, I can not add a calculated field and the associate control due to the limitation (255 caracters).
Any idea would be greatly appreciate.
Thanks a lot.One way to get around this limit is to do the following. Split the information you need into several calculated fields and then add them together in one.
Calculated Display Field = [Information Block 1] + [Information Block 2] + .....
Where [Information Block n] is a calculated field too.
Depending on the amount of data and where you need to display the field i.e. form/list applet
you could use InvokeServiceMethod in a calculated field. Have a look here:
http://download.oracle.com/docs/cd/B40099_02/books/ToolsDevRef/ToolsDevRef_Operators8.html
Axel -
CSS or HTML code to create resizable images to display in small view
I am a book publisher and am publishing books to be read on Adobe Digital Editions. I'm looking for the CSS or HTML code to create resizable images that will display in "small view." Does anyone happen to know how to do this?
hi,
Our customers want to start reports by pushing a button instead of clicking on a link inside a dashboard.Create a dashboard page with all buttons referring to your dashboards....Is that fine???
There u ll refer to your dashboard which has download,refresh all the options
thanks,
saichand.v
Maybe you are looking for
-
Since last two weeks I am unable to update my applications installed in iPad with iOS 6. Also no new app is getting installed. Installation icon appears but after some time error message "unable to connect iTunes " appears.Can some one guide me to so
-
WTR110 - Connecting from Vista or Windows 7 card kills not only connection but the router!
Hi, I never had problems with my XP laptop to connect to my wireless network on my WRT110 (using Intel Centrino) but my other laptop, a Vostro 1000 used to work when it had Windows XP, now that I've installed Vista it doesn't work anymore, I always g
-
"rules" file in jumpstart - identifying processors number
I have to edit the rules files in such a way that Profile:1 will be loaded for Netra440 machines with two processors and Profile:2 will be loaded for machines with 4 processors in the JumpStart configuration. Please suggest a way to do this, using ju
-
HT2518 how do you transfer video from a DVD based camcorder that does not use USB?
How do you transfet older video on tape and DVD based camcoder that do not have usb? looking at buying a MacBook 15.4
-
How to change enter key behavior in data grid view?
Greetings community I have a simple problem. I have a table of several columns, and I want it to be editable without using a mouse. I want user to enter value in the first column, press enter key on keyboard, enter value in second column, press enter