Jump to content

I don't understand why little things (but important) are ignored...


Stemon63

Recommended Posts

Hi,
I don't understand why there is no attention on our request of little features, but very important for us.
I need an autoedit in dbgrid without press enter, click or double click; I need that dbgrid must be as VCL in user input. 
I need a key-value pair  management in combos (retain key but display value).
I need a repeteable area with  inside a free layout on arrange components (on web is used a lot instead grids);
 

I don't speek on complex components (like advanced lookups, grids in combos, infinite scroll, etc) that are not present but already planned,

I intend simply little additions on standard components that permits us to release apps to our customers,  adding few rows of code with a update release. 

Why?
(sorry for my english)

 

  • Like 1
Link to comment
Share on other sites

2 minutes ago, Stemon63 said:

I don't understand why there is no attention on our request of little features, but very important for us.

Hello,

Sorry, Your requests are not ignored. Sorry if we don’t respond in a timely manner.

4 minutes ago, Stemon63 said:

I need an autoedit in dbgrid without press enter, click or double click; I need that dbgrid must be as VCL in user input. 

This is also not a simple implementation in my opinion, as you think.

Also, I will think about the implementation of this task.

Link to comment
Share on other sites

Hi Sherzod,

UNIGUI is a great product. But sometimes customers don't known those difficulties. If they works comfortable in Desktop (using a lot the keyboard), they want the same also on Browse. And our intend is to switch them from desktop to web. So we have to offer the same "ergonomy". But little things stops the porting.
Glad to ear that you think about the implementation.
Thank you,
Good Job 

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
On 10/17/2019 at 8:13 PM, Stemon63 said:

I need an autoedit in dbgrid without press enter, click or double click; I need that dbgrid must be as VCL in user input. 

Hi,

Sorry for the late reply.

One of the possible solution I think, can you try this approach for now?:

UniDBGrid -> ClientEvents -> ExtEvents ->

function beforeedit(editor, context, eOpts)
{
    context.value=""; //Or you can use the "condition"
}
function beforeitemkeypress(sender, record, item, index, e, eOpts)
{
    var me=sender.grid;
    me.editingPlugin.startEditByPosition({
        column: me.uniCol,
        row: me.uniRow     
    });
}

 

  • Like 1
Link to comment
Share on other sites

Or even better solution that takes into account "Enter, click, dblClick":

function beforeedit(editor, context, eOpts)
{
    editor.grid.needToClear?context.value="":{};
}
function beforeitemkeydown(sender, record, item, index, e, eOpts)
{
    var me=sender.grid;
    me.needToClear = (e.getKey() !== 13);
}
function beforeitemkeypress(sender, record, item, index, e, eOpts)
{
    var me=sender.grid;
    me.editingPlugin.startEditByPosition({
        column: me.uniCol,
        row: me.uniRow     
    });
}

 

  • Like 1
Link to comment
Share on other sites

the code was almost perfect, it would be possible after editing the registry,
when you press the down arrow already record and jump to the next line,
as it is, and if necessary, press enter and then press the down arrow,

Enter to save must be kept.

a problem I noticed:
when editing the record, press the tab key,
moving to the next column clears the next column value.

text translated by google

Link to comment
Share on other sites

10 hours ago, wilton_rad said:

a problem I noticed:
when editing the record, press the tab key,
moving to the next column clears the next column value.

function beforeitemkeydown(sender, record, item, index, e, eOpts)
{
    var me=sender.grid;
    me.needToClear = (e.getKey() !== 13 && e.getKey() !== 9);
}

 

Link to comment
Share on other sites

On 1/14/2020 at 2:14 AM, Sherzod said:

function beforeitemkeydown(sender, record, item, index, e, eOpts)
{
    var me=sender.grid;
    me.needToClear = (e.getKey() !== 13 && e.getKey() !== 9);
}

 

excellent, still abusing your goodwill, press the down or up arrow to save the record, is it possible?

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...