Comments (6)
This would be great to have. Thanks!
from sematable.
Is this supposed to be already in place? I've tried using it by adding a 'title' property to my headers array, but it does not seem to have an effect. (note: I bumped version to 1.4.1)
from sematable.
It should be working, you can test it out in storybook (npm run storybook). Can you post your column definitions?
from sematable.
I did notice that bootstrap tooltip is used if it's defined on non-sortable column, and non-bootstrap tooltip is used if defined on sortable column. I'll fix that.
from sematable.
Oh, I see. Glad you noticed. Thanks!
from sematable.
Thanks again for working on this. However, I have to say that it is still not working for me (I bumped version to 1.4.2). I may be missing something here, but what is it? I've added a 'title' property to every header, as follows:
const headers = {
field1: { sortKey: "student", name: "student", searchable: true, title: "Student's Id"},
field2: {sortKey:"name",name:"name",searchable: true: title: "Student's name"}
}
Then I render the table in the following way:
<Table condensed striped bordered hover responsive>
<thead>
<tr>
<SortableHeader className="narrowfield" {...student} />
<SortableHeader className="narrowfield" {...name} />
</tr>
</thead>
<tbody>{rows}</tbody>
What could be wrong? One more detail: the hand cursor shows up when I roll over the headers above, although no tooltip is shown.
Or, what about a bootstrap 3 vs bootstrap 4 issue? (I've now switched over to Bootstrap 3 -I was originally using Bootstrap 4), and I know there are some differences between the 2, including some class names, etc.). Note: the Table component used above is the react-bootstrap Table, not the one provided with sematable.
from sematable.
Related Issues (20)
- Storybook example full of Errors HOT 1
- Consider using deep equality checks for data
- Add an online demo? HOT 4
- Need one example of the following... HOT 1
- Custom properties for components? HOT 1
- Table without Primary key HOT 2
- Add support for multiple primaryKey columns
- Showing Incorrect page size HOT 1
- Getting Filtered Data HOT 8
- Text Search not working HOT 1
- Possible to add available actions? HOT 1
- can 'sortKey' be a function? HOT 3
- how can I specify a default page size of 'All'? HOT 4
- How can we use SemaTable using MaterialUi Components HOT 1
- Unable to use component column HOT 2
- Implement better paging for tables with lots of pages
- Make selectable a bool or a function
- If column is filterable show filter icon in the header...
- Filter text is not restored from the state HOT 3
- TypeError: Cannot read property 'object' of undefined HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sematable.