papasnippy / react-bolivianite-grid

React grid component for virtualized rendering large tabular data.
https://papasnippy.github.io/react-bolivianite-grid/
MIT License
97 stars 6 forks source link

Problem #1

Closed hamza-nb closed 4 years ago

hamza-nb commented 4 years ago

i can't see the grid when i implemented it in my project

papasnippy commented 4 years ago

I cannot know your implementation.

hamza-nb commented 4 years ago

See this link please ----> https://codesandbox.io/s/wonderful-morse-mfzeu?file=/src/App.js

papasnippy commented 4 years ago

Grid does not have fixed size, it depend on size of the container and will automatically fill all available space.

import React from "react";
import Main from "./components/main";

export default function App() {
  return (
    <div style={{ height: '90vh', width: '90vw' }}>
      <Main />
    </div>
  );
}
hamza-nb commented 4 years ago

Hey, please help me, I have another problem with this example ---> https://codesandbox.io/s/wonderful-morse-mfzeu?file=/src/App.js

hamza-nb commented 4 years ago

Grid does not have fixed size, it depend on size of the container and will automatically fill all available space.

import React from "react";
import Main from "./components/main";

export default function App() {
  return (
    <div style={{ height: '90vh', width: '90vw' }}>
      <Main />
    </div>
  );
}

Hey, please help me, I have another problem with this example ---> https://codesandbox.io/s/wonderful-morse-mfzeu?file=/src/App.js

papasnippy commented 4 years ago

CSS modules apparently do not work in codesandbox: className={Style.exampleContainer} is not translated into actual web page. Install and develop in local environment.