charlespockert / aurelia-bs-grid

Aurelia and Bootstrap powered datagrid control
MIT License
45 stars 21 forks source link

Binding issue #66

Open pranayvermado opened 8 years ago

pranayvermado commented 8 years ago

(https://cloud.githubusercontent.com/assets/5179806/10786552/d67ff67c-7d90-11e5-80e6-89f77e84b954.PNG)

I am getting above binding issue when i put this block of code in my view (https://cloud.githubusercontent.com/assets/5179806/10786673/75c545c0-7d91-11e5-86ec-59825e46fdd7.PNG)

Please let me know how to resolve this.

pranayvermado commented 8 years ago

I am able to print the data in my UI but there is no styling of grid.

<template>
    <grid repeat.for="row of names">
        <grid-row>
            <grid-col heading="ID" field="id" class="col-md-6">${ row }</grid-col>
            <grid-col heading="Name" field="name" class="col-md-6">${$index}</grid-col>
        </grid-row>
    </grid>
</template>
charlespockert commented 8 years ago

Hi, @pranayvermado so did you resolve the first issue?

Can you show me a screenshot of the second issue?

Styles are loaded via Bootstrap, you must have bootstrap installed and you have to include the .css file in your application somewhere.

I decided not to add Bootstrap as a dependency since most of the grid is actually free of any class markup so you can use your own custom CSS or possibly other CSS frameworks that style tables

pranayvermado commented 8 years ago

Hi charlespockert ,

(https://cloud.githubusercontent.com/assets/5179806/10810861/5eaf0002-7e2b-11e5-9fc8-4e0b98d1acf0.PNG)

Please check this out, I am having bootstrap in my project you can see the nav bar its from boot strap. I like this grid and it seems very useful for me.

Also one thing I want to tell you that I downloaded your project and do following steps 1.npm install 2.jspm install -y

  1. jspm install jspm install github:charlespockert/aurelia-bs-grid
  2. gulp watch

Now the application is not loaded it throws error for systemjs, system.js is not found

pranayvermado commented 8 years ago

Please check this out, I am facing this error (https://cloud.githubusercontent.com/assets/5179806/10902259/26f70fca-8221-11e5-8466-7c4a85074cf5.PNG)