lightswitch create cusom table/list with javascript

164 views Asked by At

I need to create a table or list in lightswitch with javascript in the HTML-CLient filled with my own custom data, which does not come from a query.

I died already try to create the list using <ul><li> or <table><tr><td> tags but it does not use the default lightswitch css. Is there some other way than just copying the styles?

Thanks!

1

There are 1 answers

0
Kris On

You could try your luck with jQuery Mobile 1.3.2, specifically the table control.

MSDN - Introduction to jQuery for App Customization

"When data is displayed in a table in a LightSwitch app, it uses the jQuery Mobile table control to automatically adjust its display based on the resolution of the device."