Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9162041
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T14:07:07+00:00 2026-06-17T14:07:07+00:00

If i have a these select options… var OptionsOnTable = 1:OptionA extra text;2:OptionB extra

  • 0

If i have a these select options…

var OptionsOnTable = "1:OptionA extra text;2:OptionB extra text;3:OptionC extra text;"
var OptionsOnDialogForm = "1:OptionA;2:OptionB;3:OptionC;"

On this column…

{name:"col2",index:"col2",editable:true,formatter:"select",edittype:"select"},
editoptions:{value: OptionsOnTable}

What would be the best way to go about changing the option text on the dialog form but leaving the option text on the table as is?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T14:07:08+00:00Added an answer on June 17, 2026 at 2:07 pm

    If you use formatter: "select" then the texts displayed in the grid based of formatoptions.value or editoptions.value. On the other side it will be used only editoptions.value during form editing. So you can specify both formatoptions.value and editoptions.value for one column. It will solve your problem.

    For example I used the following definition of the ship_via column in the demo:

    formatter: "select", formatoptions: { value: "FE:_FedEx_;TN:_TNT_;IN:_Intim_", defaultValue: "IN" },
    edittype: "select", editoptions: { value: "FE:FedEx;TN:TNT;IN:Intim", defaultValue: "IN" },
    stype: "select", searchoptions: { value: ":Any;FE:=FedEx=;TN:=TNT=;IN:=Intim=", sopt: ["eq", "ne"] } }
    

    So one sees three different textes in selects: one in grid, another during editing and the third one in the searching dialog:

    enter image description here

    and

    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have these 2 statements: $pow= mysql_query(select options.label from options where userid='1'); and: $sql=(SELECT
Follow-up to this question: Setting background-color of select options in JQuery I have a
I have a bunch of these select fields.. <select name=options[0][option_group_id] /> <select name=options[1][option_group_id] />
I have a select with some options . But this select section is not
I have these two queries to test my output SELECT DISTINCT( providerId ), SUM((
I have these elements, and I need to select the li inside the ul
I have two select fields in a form. Every time one of these select
I have a DataTable which I select from database (Well, these data cross several
In my upload form I have a few select boxes. These are arranged in
I've got this HTML form where I have multiple input elements: text, radio, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.