Reputation: 32400
Problem: Customer X has requested that pages using XML DataBinding and Databound tables in MSIE be re-factored to work cross-browser.
Question: What is the best-practice way to mimic the MSIE DataBinding feature of MSIE cross-browser (i.e., in both MSIE and Firefox).
Features: Customer X already gets the following using MSIE DataBinding in a single web page ...
Background: You probably have to be familiar with MSIE DataBinding to get in synch with this particular question. This feature of MSIE allows you to point to a single XML data source (of no particular schema, just as long as its in a standard "table") and the browser renders the data visually and asyncrhonously.
The benefit of this is that the page renders quickly, because the page load does not wait for the entirety of the table to be filled in before showing the user some output. The table rows get filled in progressively.
False Starts: The following have already been attempted and rejected by Customer X.
Upvotes: 1
Views: 1758
Reputation:
Your best bet is probably to use CSS to get the output formatted as desired.
Upvotes: 1
Reputation: 7713
You really don't have any other options other than Javascript/XSLT and server side.
I'd probably go with XSLT, the argument given against it is completely moot - "because it involves a lot more than just specifying a "datasource" attribute on a <table> tag" - *ANY* solution is going to be more complex then simply specifying a "datasource".
I am not sure however if the page would load progressively with XSLT, spider senses suggest otherwise. Anyone?
Failing that you could always go with a server side option and do-away with any pagination as well. You would still get the page progressively loading as well. As far as the browser is concerned it is just regular html.
Upvotes: 1