<div dir="ltr">Hi,<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 3, 2014 at 7:37 PM, Marc Delisle <span dir="ltr"><<a href="mailto:marc@infomarc.info" target="_blank">marc@infomarc.info</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Smita a écrit :<br>
<div class="">> Hi<br>
><br>
> I wanted to have some ideas about where and how should we keep option to<br>
> add a column from central list while we are adding new columns to any<br>
> table.<br>
> I can think of two ways:<br>
> 1. Add a drop down to select a column from central list. and on select of<br>
> a column auto populate all the other attributes field. [see 1.png]<br>
<br>
</div>Hi Smita,<br>
I think we can reject #1 because AFAIK there would be no way to type a<br>
column name (which is not present in the central list).<br>
<div class=""><br>
><br>
> 2. Make the current "Name" field as dropdown, which will have all the<br>
> columns from central list as options plus one option that let user to write<br>
> column name himself. [see 2.png, 3.png]<br>
<br>
</div>This would work, but I am concerned about the number of columns in the<br>
dropdown if they are numerous. We had a similar problem with the foreign<br>
key selection, that's why we added<br>
<br>
$cfg['ForeignKeyMaxLimit'] = 100;<br>
<br>
and added a panel to browse the foreign values. Since RFE #1487, this<br>
panel is a modal dialog and if you go this way, I would expect a modal<br>
dialog as well.<br>
<div class=""><br>
><br>
> Please suggest what should look good and if have any other ideas.<br>
<br>
</div>In the SQL query box, there is a "Columns" panel where you can pick a<br>
column and click on "<<"; however I'm not sure about the fate of this<br>
panel, you might talk with Edward Cheng about that. If this feature<br>
stays or is moved to the new SQL console, we'll have to see about<br>
integration with the central list.<br>
<br>
<br>
--<br>
Marc Delisle (phpMyAdmin)<br>
<br></blockquote></div><br clear="all"></div><div class="gmail_extra">How about autocomplete feature on input box, as you type column name it can show few top matching columns names very much similar to google instant search?<br>
</div><div class="gmail_extra">-- <br><div dir="ltr">Regards,<br>Chirayu Chiripal<br>phpMyAdmin Intern - Google Summer of Code 2014<br><a href="https://chirayuchiripal.wordpress.com/" target="_blank">https://chirayuchiripal.wordpress.com/</a><br>
</div>
</div></div>