Code Monkey home page Code Monkey logo

mvctables's Introduction

mtranter's github stats

mvctables's People

Contributors

gitter-badger avatar mikehancock avatar mtranter avatar oliverreid avatar pizycki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mvctables's Issues

Can not set a CSS class on EditorForColumn

Cannot set a CSS class for the EditorForColumn method. At least I am not aware of any way to specify any class to be used for the input element.

Example: the form-control class from Bootstrap.

No mention of the JavaScript

MvcTables depends on a JavaScript, but there is no mention of it anywhere on how to set it up, configure it or load it.

It seems to work to put @Html.MvcTableScript() under the @Scripts.Render("~/bundles/jquery") line in the _Layout.cshtml file.

Add Records

Do you have any ideas on a good way to implement functionality for adding records? My current thought is to do something similar to the Pagination, although currently it isn't working in my local repository.

Pagination does not work with Bootstrap 3

.ConfigurePagingControl(p => p.SetContainerCssClass("pagination").SetPageSizes(10, 20, 30));

This works fine with Bootstrap 2.
But this does not work with Bootstrap 3 as the pagination class gets set on the wrong HTML element.

Can't sort calculated fields

In the sample app, on the ParentChild view, in the details section, there is a Line Total field which is calculated. It marks itself as sortable, and ideally it should be able to sort, but it cannot.

I am working on a fix in my fork

Documentation calls method with wrong parameter count

Calls the Build method with one parameter, but the the method requires a secondary parameter, the int totalRows parameter.

See the IEnumerableTableResultBuilder interface.

It appears that:

return TableResult.From(entities).Build<InvoiceTable>(request);

should be

return TableResult.From(entities).Build<InvoiceTable>(request, 10);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.