jQWidgets Forums
Forum Replies Created
-
Author
-
Hi Dimitar,
It’s possible to have a preview of the scheduler? Or to know how will be?thanks
GiulioRESOLVED:
this is the linkrender function:
var linkrenderer_accounts = function (row, column, value) { if (value.indexOf('#') != -1) { value = value.substring(0, value.indexOf('#')); } href = source.records[row].ID; var html = "<a href=\"?module=accounts\&applettype\=baseview\&ret_module=accounts\&ret_applettype\=listview\&record="+href+"\">"+value+"</a>"; return html; };
I use this function
var linkrenderer = function (row, column, value) {
if (value.indexOf(‘#’) != -1) {
value = value.substring(0, value.indexOf(‘#’));
}var format = { target: ‘”_blank”‘ };
var html = $.jqx.dataFormat.formatlink(value, format);return html;
and it’s ok to retrieve column data.
But id is not in the row, it’s only in the source
var source =
{
datatype: “json”,
datafields: [
{ name: ‘id’},
{ name: ‘FST_NAME’},
{ name: ‘LST_NAME’},
],and in grid definition I have:
columns: [
{ text: ”, datafield: ‘FST_NAME’, width: 200, cellsrenderer: linkrenderer},
{ text: ”, datafield: ‘LST_NAME’, width: 180 },
]I’d like to retrieve the id value!!
thanks
Giulioyes,
the sample is ok,
but how can I calll the field ID inside the renderer function?thanks
GiulioRESOLVED
just put
$(“#jqxMenu”).jqxMenu({ height: 30,showTopLevelArrows: true});
$(“#BS_Logout”).css(‘float’, ‘right’);
$(“#jqxMenu”).css(‘visibility’, ‘visible’);after setting an ID (BS_Logout) for logout
Logout\n”
(where logout is on the right…)
home products services ……………………………………… logout
-
AuthorPosts