0

Preventing rendering manually added listitem.

asked 2015-01-02 07:30:32 +0800

kkurt gravatar image kkurt
300 1 2

Hi; I have a listbox with model. I want to add new listitem at the end of the listbox (like sum or average row). When i try to add row, it appears as i want and suddenly renderer changes that row. How can i prevent this?

delete flag offensive retag edit

3 Answers

Sort by ยป oldest newest most voted
0

answered 2015-01-02 08:25:33 +0800

chillworld gravatar image chillworld flag of Belgium
5367 4 9
https://github.com/chillw...

Do you use the listfoot for the extra row?

link publish delete flag offensive edit
0

answered 2015-01-02 13:30:28 +0800

kkurt gravatar image kkurt
300 1 2

No, i did not try listfoot. Listfoot does not solve my problem. Only one listfoot is allowed, but i nedd two row (one for sum, other for average)

link publish delete flag offensive edit
0

answered 2015-01-02 16:10:00 +0800

chillworld gravatar image chillworld flag of Belgium
5367 4 9
https://github.com/chillw...

updated 2015-01-02 16:10:57 +0800

You could try something like this :

<listfoot >
    <listfooter span="3">
        <grid style="border:none" width="100%">
            <rows>
                <row>
                    <label value="footer2"/>
                </row>
                <row>
                    <label value="footer1"/>
                </row>
            </rows>
        </grid>
    </listfooter>
</listfoot>

I put span 3 but set your span as the total columns your list has.

Greetz chill.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2015-01-02 07:30:32 +0800

Seen: 10 times

Last updated: Jan 02 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More