yozzeff schrieb:
hi jason,
Because you can have other things besides text:
var lc =
{
name : { label : "Name", width : 100, type : "text" },
size: { label : "Size", width : 50, type : "text", align :
"right" } ,
filetype : { label : "Type", width : 24, type : "iconHtml" }
};
var l
yozzeff wrote:
> i see.
> can text and icon be combined?
> can there be even more attributes combined there?
I do not know. The documentation on this sort of thing is a bit
light -- I had to dig through the source and examples to figure
this one out. Given the depth of QX, I would not be surpri
hi jason,
> Because you can have other things besides text:
>
> var lc =
> {
>name : { label : "Name", width : 100, type : "text" },
>size: { label : "Size", width : 50, type : "text", align :
> "right" } ,
>filetype : { label : "Type", width : 24, type : "iconHtml" }
> };
>
> var
yozzeff wrote:
> can anybody explain me the reasoning why i need to define
> list view data as this
>
> var lc =
> {
> name : { label : "Name", width : 100, type : "text" },
> size: { label : "Size", width : 50, type : "text", align :
> "right" } };
>
>
> var ld = [
> { name : { text : "
hi kent,
> It is a fast way to declare variables to values. A more space-consuming
> way is:
>
> setLabel("Name");
> setWidth(width);
i understand that. but my question was not so much about the column
description but rather about the list data!
so again. why
var listdata = [
{ name : { text
Hej!
It is a fast way to declare variables to values. A more space-consuming
way is:
setLabel("Name");
setWidth(width);
etc
Because it has to do with a declaration structure's definition. Look
both in the source as well as in javascript documentation. It has also
been chosen to define the type
hi,
can anybody explain me the reasoning why i need to define
list view data as this
var lc =
{
name : { label : "Name", width : 100, type : "text" },
size: { label : "Size", width : 50, type : "text", align : "right" }
};
var ld = [
{ name : { text : "File A"}, size : { text : "29 kb" }}