@tbettinazziaxioma-it
@tbettinazziaxioma-it
Forum Replies Created
-
AuthorPosts
-
tbettinazzi@axioma.it
ParticipantAny help ?
Tks
tbettinazzi@axioma.it
ParticipantOk, understood.
I’m speaking about a login field and I need to show the chrome list of user already connected to that site.
I firefox it works, in chrome it doesn’t.
Tks
tbettinazzi@axioma.it
ParticipantFixing height to leave enough space for ripple presuppose to know how many rows we have, but owing that rows come from a query on the DB I can’t know, a priori, how many rows I’ve.
It would be usefull to have an auto sizing of the height + some small fixed amount for the ripple effect.
Tks
tbettinazzi@axioma.it
ParticipantSetting fixed pixel number to width and height doesn’t allow to adapt to the size of the screen.
I hoped that 100% will work with all normal screen size but it seems to calculate the width depending on I don’t know what.
The same for the height.
Tks
tbettinazzi@axioma.it
Participant@phale How did You apply flex-grow to columns.
I didn’t find any way to apply classes to columns.
Tks
tbettinazzi@axioma.it
ParticipantTks for Your answer but that answer was for another question i posted.
In this post I’m asking about the noisy effect when the min-heght is lower than the space needed for all rows and the user clicks on the checkbox.
Tks
tbettinazzi@axioma.it
ParticipantDone, but id min-height is not larger than the number of rows represented the noisy effect still reproduces.
It seems as if the checkbox is clicked the row heigth become a little bit larger falling under the grid lower line.
tbettinazzi@axioma.it
ParticipantAt what value ?
The row doesn’t disappear, simply a part of the row (say 20%) alls below the grid limit.
Tks
tbettinazzi@axioma.it
ParticipantTks but getSelectedRows provides me the list of the selected rows but what’s about the the row which fired the seleciton ?
Where can I find it ?
Tks
Tullio
tbettinazzi@axioma.it
ParticipantI restart that thread after a while.
I wan’t able to prepare a testcase because I didn’t understand where the problem could be.
Now I get back to the problem and I understand where the problem could be.
I’ve 2 fields which are represented by a button (each one) : I did it with a template as suggested.
Each button takes 3% of the screen.
In that situation clicking on the button :
. grid rows shrink
. some rows are overlapped
. the selection checkboxes disappear on all rows.
I noticed that, with theese buttons, the grid appears quite higher than without them,
I enlarged button to 25% and the problem disappeared.
I reduced the field value to a single character and again the problem disappeared.
It seem as before representing the button it calculates the hight value of the text which, in a small space the value is divided into several lines, and takes more height space then the button is represented in that augmented space.
When I click a button or another normal cell it shrinks with the effects I described.
Is it a bug ? Is there a workaround ?
Tks
-
This reply was modified 1 month, 4 weeks ago by
tbettinazzi@axioma.it.
tbettinazzi@axioma.it
ParticipantI added an id field named id.
I defined in the DataSource keyDataField : ‘id’
I defined it in columns as
{label : ‘Id’, dataField:’id’, width:’auto’, align: ‘center’, width: ‘15%’, visible : true, allowEdit: false},
I filled it.
but getSelectedRowIds() still returns the row number of the selected rows and not my id.
Tks
tbettinazzi@axioma.it
ParticipantMy data field is defined as
{label : ‘Code’, dataField:’CODICE’, width:’auto’, align: ‘center’, width: ‘15%’, visible : true, allowEdit: false},
Shouid I add something to make it the id or I need to add a column named id to my columns ?
I also tried to add row.id value to each row but it seems to ignore it.
Tks
tbettinazzi@axioma.it
ParticipantTks
I found also a metod getSelectedRowIds.
Is there the way to declare a column ad id ?
Tks
tbettinazzi@axioma.it
ParticipantTks, it seems to work.
There’s only a side effect I don’t understand.
When I click the button, rows in the grid shrink.
Why ?
Tullio
tbettinazzi@axioma.it
ParticipantSorry but I don’t see any clickable button on the table.
The info field doesn’t react to any click.
Looking at source code I don’ see any button or smart-button in it.
Tks
-
This reply was modified 1 month, 4 weeks ago by
-
AuthorPosts