Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
460
How can i create a TAB that is recognized in a report (.rdl)?
posted

Hi there,

Im using the webHTMLeditor to create the content for a report. But the TAB tag is not recognized in the report. So i replace it for white spaces, but ihave the problem that those aren't recognized at the start of the line either. So i thought in enter a white dot before a the white spaces. dor that i created a function in javascript that do that but the problem is that i can not style the dot to be white, it allways appears in black.

Can someone help me?

here is the function that i create:

function WebHtmlEditor1_KeyDown(oEditor, keyCode, oEvent) {

if (keyCode == 9) {
var point = document.createElement("SPAN");
var object = document.createElement("SPAN");

var style = point.style;
style.fontColor = "white";
console.log(style);

point.innerHTML = '<span style="color:white">.</span>';
object.innerHTML = "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";

console.log(object);
iged_insText(point.outerHTML);

iged_insText(object.innerText, false);
oEvent.cancel = true;
}
}

Parents Reply Children
No Data