Page 2 of 2

Re: how to add a button inside list item ??

PostPosted: 27 Dec 2017 11:12
by Jorge Sousa
Hi

About

1- i needed to call : Self.AjaxReRender(False, False);
to update the list, is there a function to update the list without rerender ?!


See the enclosed source changes.

First of all you must use TCollectionItem.ID instead of .Index, to not get out of sync between server and browser.

You also must know this:

https://api.jquery.com/attribute-equals-selector/
https://api.jquery.com/remove/


2- the list items expand out of containing panel
is there a way to show scrollbars when list expand ?! :idea:


Se overflow=auto
(not included in the enclosed source code)