Questions tagged [cellrenderer]

145 questions
3
votes
0 answers

FullWidthCellRenderer edit function

I've created a full width cell to display kind of a "category" under which I put "items" (normal rows). Editing is enabled for my columns. As soon as I try to tab from the previous cell into the full-width-cell, I'm getting an error. This is the…
C4d
  • 3,183
  • 4
  • 29
  • 50
3
votes
1 answer

How do I put a react jsx component within my ag-grid cells

Unfortunately I cannot share code because it is company confidential but I am basically using colDefs to define my columns within a React ag-grid and would like to have one column whose cells are all a custom JSX button component I built that will…
3
votes
2 answers

ag-grid set cellRendererParams to values from the row data

I want to send data to my cellRenderer component via the cellRendererParams object but I don't know how to access row data for this. Here's an example of what I want to do: cellRendererParams: { label: currentRowData.myField +…
HisDivineShadow
  • 1,036
  • 1
  • 12
  • 21
3
votes
1 answer

ag-grid cellRendererFramework not work in angular

I'm trying to add a simple component in ag-grid table cell . I flow the instructions in aggrid website but it dos'nt render the component . here is my code : columnDefs = [ { headerName: "Name", field: "name" ,width: 400}, { headerName:…
maral
  • 259
  • 4
  • 18
3
votes
1 answer

Angular ag-grid cell renderer checkbox not refresh value

I created cell renderer for checkbox input but when I click checkbox it change the value inside but not on the cell. See plunker example: Plunker refresh method should be called on change but somehow it is not. onCellClicked function returns…
TadeM
  • 81
  • 1
  • 8
3
votes
1 answer

Set cellrenderertext foreground color when a row is highlighted

When I have a gtk.CellRendererText, I can associate its foreground color with one of the tree store's columns, and set the foreground-set attribute to True, to change the color of the text in that column. However, when the row with the colored…
Claudiu
  • 224,032
  • 165
  • 485
  • 680
3
votes
1 answer

JTable cell text color changing

I´m rather new to Java and programming itself, so excuse me for the question. What I´m trying to do is the following: I´m making a bookkeeping program. On the column where the income/outcome is displayed, I want it so when the user enters a negative…
Ilias_Tria
  • 33
  • 1
  • 1
  • 6
3
votes
2 answers

Have something loaded only when JList item is visibile

i'm implementing a Jlist populated with a lot of elements. Each element corresponds to a image so i'd like to show a resized preview of them inside each row of the list. I've implemented a custom ImageCellRenderer extending the Jlabel and on…
elvencode
  • 41
  • 3
3
votes
2 answers

Change color to unselected row in JTable

I need to highlight the color of a selected row in a JTable. I'm using my own CellRenderer for this, and it works, but when i select another row, the previous one still stays highlighted. The idea is to keep in blue color just the selected one, and…
user1715408
2
votes
2 answers

Jtree getTreeCellRendererComponent execute several times

i've got a problem with a custom TreeCellRenderer. the overridable method getTreeCellRendererComponent is executed about 4 time when i click on a node. Does anybody have an idea about this? Thanks by advance. Simon my code: @Override public…
Simon Mardiné
  • 510
  • 2
  • 7
  • 23
2
votes
1 answer

Expanded JTree Rendering

When the tree is expanded and I tried to rename the tree node not all the name displayed only about 4 5 letters and the others as (...) but if the tree is collapsed, every thing is OK. The following is my custom tree cell render: public class…
Marwa
  • 21
  • 2
2
votes
0 answers

Modal Render Inside Ag-Grid

I have Create Custom select Component for Ag-grid which will show additional detail via click on the button when I press the button it will open Modal and show Additional information problem is that I'm using the same logic for my forms and Grid…
2
votes
0 answers

Issue with ag-grid scroll in angular while adding cell renderers

I am having trouble while adding cell renders to ag-grid while providing column options to grid (see code below). As soon as I add custom cell renderers to ag-grid the scroll becomes really slow and it is not smooth. public ngOnInit(): void { …
Madhur Maurya
  • 1,016
  • 4
  • 19
  • 42
2
votes
0 answers

ag-grid-react cellrenderer Class base component, Function base Component Error

I have a question about ag-grid cellender. When using CellRender, the Class Base Component does not fail. An error is generated when using Function Base Component. I am using the material ui and would like to create a Button Action through the Cell…
Jake Nam
  • 33
  • 1
  • 4
2
votes
1 answer

How do i call function from Cell Renderer - ag grid

i'm using cellrenderer in vue.js, i want to call function from the cell renderer. attached here my code: gridColumns() { return [{ headerName: "Actions", cellRenderer: 'iconRender', width: 140, cellRendererParams:…
user
  • 136
  • 2
  • 16
1
2
3
9 10