Questions tagged [cellrenderer]
145 questions
1
vote
4 answers
Cell Renderer for JTable - coloured rows
I've been looking around for a solution to this and I can't make head nor tail from various places of how to get my table to do coloured rows without asking my own question.
From every place I've looked I gather I need to use a cell renderer but the…

forcey123
- 139
- 3
- 3
- 6
1
vote
1 answer
Add a button to a treeview row
Is it possible to have a button as a cell renderer in a tree view with gtk2?
There is no documentation of something like a button cell renderer.

Romildo
- 545
- 9
- 20
1
vote
0 answers
How can I prevent Flash scaling up movieclips inside my DataGrid Cell?
I have an AS3 DataGrid component, in one column I use a custom Cell Renderer to load a movie clip from the library. However the movieclip seems to scale to fit the height of the cell ( if I change the datagrid cell height property, the movie clip…

undefined
- 5,190
- 11
- 56
- 90
1
vote
1 answer
how to display all String elementName in JTree with the same length?
I have created a JTree which shows a list of files. these files have not the same length.
I want to show all of them with the same length in the JTree for example 20 character.
If the name is bigger than 20 character, it should appears in tool…

itro
- 7,006
- 27
- 78
- 121
0
votes
2 answers
Check Box Node Tree , Custom Renderer
I have a custom checkbox node tree .
The structure is like this .
You can notice that the subtree is drawn from the check box node tree.
And what i need is ,
The sub tree must be drawn under the folder icon and not the check box.
Please guide me…

Achilles
- 1,065
- 2
- 13
- 29
0
votes
2 answers
Cell renderer class for a JComboBox in a JTable without parameters in the constructor
I am creating a cell renderer for a JComboBox in a JTable. The constructor of this class should take no parameter. I have the following basic code for the getTableCellRendererComponent method:
public Component getTableCellRendererComponent(JTable…

Anto
- 4,265
- 14
- 63
- 113
0
votes
1 answer
All useState vars like rowData are null/empty when I print from a cellrendered button within AgGrid
const [groupColumnDefs] = useState([
{
field: "groupName",
flex: 4,
},
{
field: "Delete",
flex: 1,
cellRenderer: (params: any) => {
return (
0
votes
1 answer
components inside rows disappearing when filtering data angular ag gird
I have an ag grid with several custom components for each column, the component are showing but whenever I filter the data the component disappears, for example:
the component inside the row
to filter I use an input with a filtering…

freakinu
- 1
0
votes
0 answers
Ag-Grid Angular: Conditionally Resize CellRenderer Header Component
tl;dr: When editing an ag-grid, show a hidden column and adjust the header column width appropriately to fit all columns dynamically
I am having trouble getting a dynamic table width, specifically the header component. I have a view/action logic…

Generaldeep
- 437
- 2
- 12
- 30
0
votes
1 answer
`FlatList` with a `CellRendererComponent` implementation does not show all items on Android
We have a component for a sortable list that uses FlatList with a CellRendererComponent:
We have a usage where on some Android devices, at least part of the time only the…

MikeL
- 2,756
- 2
- 23
- 41
0
votes
0 answers
dropdown list options are not rendering properly for agGridReact
Grid for reference
I was trying to add dynamic dropdown for 'beneficiaryBankAccount' column based on the value of 'ReceivedFrom' column i.e. in every row for same column 'beneficiaryBankAccount' the dropdown list will be different.
sometimes after…

Ashwin
- 1
- 1
- 3
0
votes
0 answers
how to add dynamic dropdown for same column in different rows of an AgGridReact?
here the image for reference
as the 'cost center' dropdown is working in same way I want to add another dropdown for 'beneficiary bank account' but the dropdown option will be different for each row.
I tried to do with static option list it's…

Ashwin
- 1
- 1
- 3
0
votes
0 answers
GTK CellRendererProgress bar color
How can I change the color of the CellRendererProgress bar depending on the value?
I managed to do so in a conventional ProgressBar by using the CSS tags, but I cannot find the way to target the widget (if any) of the progress embeded in the…

Jesus G
- 11
- 1
0
votes
1 answer
AG-Grid React. How to attach a custom cellRenderer for leaf nodes only, without breaking the built-in row grouping feature
Simplified from this ag-grid example. See code comments. I can attach a custom cellRenderer for rowGroup rows. But all my attempts at a custom cellRenderer for leaf node rows have broken the row grouping functionality. Seems we can differentiate…

thoroughlyConfused
- 21
- 3
0
votes
1 answer
angular AG Grid ICellRendererAngularComp not found
Ive just started using AG Grid and Im having a problem with the demos
** see link below
the example references ICellRendererAngularComp which it says is located in
ag-grid-community/angular
but I cant find it. Heres the typescript code, can anyone…

misuk
- 133
- 1
- 15