on 09-13-2012 6:26 PM
Assuming you are using the built-in, designer-generated listview, that sounds like a bug. I'm afraid you'll have to register an issue with development for us to resolve. What version are you using? You could always overwrite the listview content generation, but that's decidedly non-trivial.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can overwrite how a screen gets displayed either by adding a UIUpdateHandler or by overriding customBeforeNavigateForward and returning true for that screen.
In either case, you would generate the appropriate output string
(e.g.
var listviewText = '<div><ul data-role="listview" data-theme=\"c\">';
var valuesIdx;
for (valuesIdx = 0; valuesIdx < numValues; valuesIdx++) {
var currValue = values[valuesIdx];
listviewText += '<li role="option\" id="' + valuesIdx + '\"><a id="' + currValue.getKey() + '" class="listviewLines ui-link-inherit">';
listviewText += '<h2>' + currValue.getData("MyMBO_attributeName_attribKey").getValue() + '</h2>;
listviewText += '</a></li>';
}
listviewText += '</ul></div>';
)
and then use that text to create the listview control, making sure to remove/hide the old one, too.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.