Data Grid Behaviors Broken [message #930777] |
Tue, 02 October 2012 16:31 |
Dan Darnell Messages: 145 Registered: November 2011 Location: Arkansas |
Senior Member |
|
|
I mentioned this in another thread after a discussion of DataGrid not working unless/until you connect to another workspace. This is a different issue though so I am going to give it a topic unto itself. Looking for some confirmation that this is really a problem...
I get an error in the IDE when I try to create a behavior function. Below is a simple case, using the tooling to create the grid and generate the stub behavior function:
grid DataGrid{
behaviors = [ format ],
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"}
]
};
function format(grid DataGrid in, cell Widget in, rowData any in, dataIndex int in, column DataGridColumn in)
//Auto-generated method stub
end
Error:
IWN.VAL.6653.e 18/15 testrui - DataCellBehavior[] and format[] are not compatible types in the
expression behaviors = [format]. At line 18 in file \TestRUI\EGLSource\client\TestRUI.egl
If someone can confirm that it is an issue and not just something I am doing wrong I will happily submit the bug report.
--Dan
[Updated on: Tue, 02 October 2012 16:32] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03511 seconds