Smart UI Components & Libraries – Grid, Scheduler, Gantt, Kanban for Angular, React, Next.js, Vue, Blazor, JavaScript › Forums › General Discussions › DropDownList › adding new item at the end This topic has 1 reply, 2 voices, and was last updated 2 years, 4 months ago by svetoslav_borislavov. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts August 3, 2023 at 3:02 am #108507 edwardsmarkffParticipant hello – it appears the only way to add a new item is by using insert or insertBefore https://www.htmlelements.com/demos/dropdownlist/basic/#toc-insert but what if i want to add at the end? right now i am just using ‘999’ as my insert position. is there a better way? August 3, 2023 at 5:46 am #108508 svetoslav_borislavovParticipant Hi, You may get the items length and use that length as a position. This way you will add the new item at the end. Here is an example: https://codepen.io/svetoslavb04/pen/JjexBYo Best Regards, Svetoslav Borislavov Smart UI Team https://www.htmlelements.com/ Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In With Google Log In