Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3022

Set TextField Editable only in selected row

$
0
0

Hi Experts,

 

i am Trying to fix my problem with the scrolling which you can read here:Table Input fields Bug?

if you know another why how to fix this you're welcom but know my idea and i don't know how to realize it.

So I've two Ideas with the same Solution but don't know which I will use and how to go on with it:

Solution 1:

I am deploying in the edit Columsn TextFields with the state editable="false" after i am Hitting a Button i want to get the Selected Rows

this should be know problem two implement.

After this i would like to change the state too editable but if i go from row array to the row i need to the columns to cell.

The cell Object couldn't handle the methode setEditable only setVisible so we came too the second Solution if you know how to change the specifiy row cell to editable i am waiting for it.

Is there a methode how to get out of the context element the real Element which is placed in content? 

Solution 2:

In this Solution i've got on too thinking if i can use the method setVisible i could get two cells in one Column but here i am stucking don't know how to do this two get to the specify column now problem but i've tryed the split like following code demonstrate:

<t:Column class="columns">
<Label text="Honorar Neu">
</Label>

                <cells>

                  <t:template visible="true" id="texthr">

                    <Text text="{PSpsearch>Honorar}" ></Text>

                  </t:template>

                  <t:template visible="false" id="inputhr">

                    <commons:TextField text="{PSpsearch>Honorar}" editable="true"></commons:TextField>

                  </t:template>

                </cells>

</t:Column>

But this throws an error. I am too thinking about how to change only the value of the textfield when i set visable too false after input.

Because if i set text of Text field in template all rows will get the same input in an column.

So I am a little bit confuesed and need Help hope some one knows what I mean and got an Idea how to work around.

 

Regards,


Dominik


Viewing all articles
Browse latest Browse all 3022

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>