Can you do the same pofile using
qx.ui.table.pane.Pane.USE_ARRAY_JOIN = false;
and using the attached direct cellrenderer please?
You have to change the extension from .j_ to .js and you have to adapt
the namespace to your needs. Give it a try.
Bart van der Werf schrieb:
From: Dietrich Streifert
Does the profile include the initial showup of the table?
This profile is of scrolling one row up and down for a while.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
--
Mit freundlichen Grüßen
Dietrich Streifert
--
Visionet GmbH
Firmensitz: Am Weichselgarten 7, 91058 Erlangen
Registergericht: Handelsregister Fürth, HRB 6573
Geschäftsführer: Stefan Lindner
/* ************************************************************************
qooxdoo - the new era of web development
Copyright:
2007 Visionet GmbH
All rights reserved
License:
LGPL: http://www.gnu.org/licenses/lgpl.html
EPL: http://www.eclipse.org/org/documents/epl-v10.php
See the LICENSE file in the project's top-level directory for details.
Internet:
* http://qooxdoo.org
Authors:
* Dietrich Streifert
<dietrich dot streifert at visionet dot de>
************************************************************************ */
/* ************************************************************************
#module(ui_visionet_table)
************************************************************************ */
/**
* A cell renderer with no formatting. It simply displays the value
* of the cell.
*
* This renderer can be used in situations where the
* data is already formatted. This could be the case if the data
* was sent pre-formattted by a backend.
*/
qx.Class.define("visionet.ui.table.cellrenderer.Direct",
{
extend : qx.ui.table.cellrenderer.Default,
/*
*****************************************************************************
MEMBERS
*****************************************************************************
*/
members :
{
/**
* Creates the html representation of the cell.
* Overridden from [EMAIL PROTECTED]
qx.ui.table.cellrenderer.Default#_getContentHtml}.
*
* @type member
* @param cellInfo {var}
* @return {var}
*/
_getContentHtml : function(cellInfo) {
return this._formatValue(cellInfo);
},
/**
* Formats a value of the cell.
*
* @type member
* @param cellInfo {object} the cellInfo to format.
* @return {string} the formatted value.
*/
_formatValue : function(cellInfo) {
return (cellInfo.value == null) ? "" : cellInfo.value;
},
// overridden
/**
* TODOC
*
* @type member
* @param cellInfo {var} TODOC
* @param cellElement {var} TODOC
* @return {void}
*/
updateDataCellElement : function(cellInfo, cellElement)
{
var textNode = cellElement.firstChild;
if (textNode != null) {
textNode.nodeValue = (cellInfo.value == null) ? "" : cellInfo.value;
} else {
cellElement.innerHTML = (cellInfo.value == null) ? "" : cellInfo.value;
}
}
}
});
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel