|
|
Re: Debug [message #762733 is a reply to message #762725] |
Thu, 08 December 2011 15:02 |
Trond Einar Nilsen Messages: 36 Registered: December 2011 |
Member |
|
|
Brian,
DataGrid DataGrid{
behaviors = [ ],
headerBehaviors = [ ],
columns = [
new DataGridColumn{name = "field1", displayName = "Column 1 Header", width=120},
new DataGridColumn{name = "field2", displayName = "Column 2 Header", width=120}
],
data = [
new Dictionary { field1 = "Row 1, Column 1", field2 = "Row 1, Column 2"},
new Dictionary { field1 = "Row 2, Column 1", field2 = "Row 2, Column 2"}
], onClick ::= DataGrid_onClick,
width = "300"
};
.....
function DataGrid_onClick(event Event in)
Dummy string = " ";
end
.....
I installed the EDT today, but have used the CE for a while. I was curious about the datagrid as it did not exist in the comunity edition.
I put a breakpoint on the "Dummy string = " ";" to see what variables was available, but only when clicking outside the cells, but inside the "width = "300"" area the program stopped at the breakpoint
Trond
|
|
|
Re: Debug [message #762816 is a reply to message #762733] |
Thu, 08 December 2011 16:55 |
Joe Pluta Messages: 62 Registered: November 2011 |
Member |
|
|
Just as a notre, I recreated the behavior Trond describes.
I guess in a perfect world I would want any unprocessed events to keep bubbling outward. But bubbling is always a tricky thing to handle consistently, especially across browsers.
Joe
[Updated on: Thu, 08 December 2011 16:55] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03311 seconds