silverstripe-gridfieldextensions | A collection of useful grid field components | Grid library
kandi X-RAY | silverstripe-gridfieldextensions Summary
kandi X-RAY | silverstripe-gridfieldextensions Summary
A collection of useful grid field components.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Gets the fields for a record
- Reorder items .
- Get the template parameters
- Get row template
- Get the classes for this gridfield
- Returns HTML code for adding new classes
- Build the form
- Returns the search form
- Get column content
- Include GridField Extensions
silverstripe-gridfieldextensions Key Features
silverstripe-gridfieldextensions Examples and Code Snippets
Community Discussions
Trending Discussions on silverstripe-gridfieldextensions
QUESTION
We have an object with a has_one
relationship with a secondary object in a Silverstripe project. The secondary object has multiple has_one
fields
ANSWER
Answered 2019-Sep-11 at 21:15There are a couple of modules you can use to do this.
Our preference is https://github.com/satrun77/silverstripe-hasoneselector, some other community members prefer to use https://github.com/silvershop/silverstripe-hasonefield, which is also a dependency of quite widely used https://github.com/gorriecoe/silverstripe-linkfield. Might be a better option in terms of support.
QUESTION
This question refers to the SilverStripe-GridFieldExtensions module, specifically the inline editing feature. (ss 3.5)
The mod displays both the current value of a column as plain text and a form input field that naturally holds the current value by default.
The first one is not only unnecesssary but also confusing / not user-friendly for some fields like checkboxes (shows value 1
when checked).
Example
- For the
Type
column it's really unnecessary to show the current value, as the dropdownfield already shows it. - The checkbox shows value
1
which is just strange for end users
How can you disable the plain text value?
...ANSWER
Answered 2017-Jan-26 at 05:18This happens when you have GridFieldDataColumns()
and GridFieldEditableColumns()
added to your grid field config. Try removing GridFieldDataColumns()
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install silverstripe-gridfieldextensions
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page