Data View library for the ZPM.Net framework.
"Public" methods are intended to be called outside the dataview class.
"Internal" methods are indended for use within the dataview class.
under construction.
Parameter viewId: id of content <div> containing the entire data view.
Parameter modelTextName: Name of the model, like Customer or Employee.
Parameter getModelMethodName: Server method used to get a model, example: /Customer/GetModel.
Parameter focusOnChange: element id to focus on when changing a model
Parameter focusOnAdd: element id to focus on when adding a model
All of the ZPM.Net examples use the html helper Html.DataView_NewDataView() to create the class.
Returns jQuery selector for the row that is currently selected in the model list.
Returns true if any data fields have been changed.
Parameter classPrefix: under construction
under construction
Parameter tr: tr element user clicked on. under construction
Returns id of model in the row clicked on.
Parameter tr: tr element user clicked on.
Parameter tr: table row element to mark as selected.
BeforeUnloadPage() is used to display a message to the user when attempting to close the page with unsaved changes.
Parameter e: event, not used.
under construction
under construction
under construction