Giter Site home page Giter Site logo

expandable's People

Contributors

goeran avatar

Watchers

 avatar  avatar

expandable's Issues

Macro support for tables

Consider this,

            var malForBilag = BilagMal(@"
                    Bilagsnr  | Kontonr | Dato           | Debit | Kredit | PrimærKontoNr    | Beskrivelse
                    @bilagNr  | 1920    | @datoEndring   | 0     | 3000   | 2930             | Utbetaling lønn/bonus
                    @bilagNr  | 2780    | @agaTermin     | 423   | 0      | 1950             | Utbetaling av aga
                    @bilagNr  | 1950    | @agaTermin     | 0     | 423    | 2780             | Utbetaling av aga
            ", new {
                bilagNr = prognoseRegnskap.NesteBilagsnummer(),
                datoEndring = primærtrans.Dato,
                agaTermin = regnskapskalender.NærmesteDatoForForskuddstrekkOgArbeidsgiveravgift(primærtrans.Dato)
            });

Is illustrated, it would be nice to be able to inject values into the table based on variables or expression evals in code.

Setting column values are properties on objects is case sensitive

Had a class like this,

public class Person
{
    public string Name { get; set; }
    public int Age { get; set; }
}

And a table like this,

name       | Age
Steve      | 50
Bill       | 50

When parsing the table it was not able to set the Name property on the Person objects. I spent at least 5 minutes debugging before I understood what was wrong.

I should consider implementing a strict mode, were parsing fails when properties not found.

Support groupings

Like

accounts:
number | name
1000   | A
1001   | B

transactions:
date       | debit | credit
1.1.2013   | 100   | 0
1.2.2013   | 40    |

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.