Search found 619 matches

by johntalbott
Mon Oct 16, 2023 3:14 pm
Forum: General discussion and questions about Aware IM
Topic: Remove "No records available" msg
Replies: 15
Views: 104376

Re: Remove "No records available" msg

Init Script

config.noRecords.template = function(e) {
var t = `<div class="k-grid-norecords"><div class="k-grid-norecords-template" style="margin: 0px auto; position: static;">blah blah blah.</div></div>`
return t
}
by johntalbott
Tue Nov 23, 2021 2:20 am
Forum: General discussion and questions about Aware IM
Topic: [SOLVED] how can i view a PDF Attachment directly from the Grid?
Replies: 6
Views: 10233

Re: how can i view a PDF Attachment directly from the Grid?

This should do the trick.

Code: Select all

const id = parser.m_highlightedRow.refValue.split(":")[1];

AwareApp.viewDocument ("ReqLines", id, "ReqAttachment");
by johntalbott
Mon Nov 22, 2021 7:03 pm
Forum: General discussion and questions about Aware IM
Topic: [SOLVED] how can i view a PDF Attachment directly from the Grid?
Replies: 6
Views: 10233

Re: how can i view a PDF Attachment directly from the Grid?

AwareApp.viewDocument might do what you are looking for.

To test it out, you could use an operation button that executes JavaScript with some hardcoded values.

AwareApp.viewDocument (BOName, BOID, BOAttributeStoringPDF)
by johntalbott
Wed Nov 10, 2021 4:41 am
Forum: General discussion and questions about Aware IM
Topic: Mentions Plug-In
Replies: 0
Views: 7212

Mentions Plug-In

All, There was a recent post exploring options for adding a Mentions feature to AwareIM which served as inspiration for developing a UI plug-in. Here is a quick screen cast to give you a visual of how it works. https://screencast-o-matic.com/watch/crX6fcVlPEI Message me here or on Skype if you're in...
by johntalbott
Fri Aug 06, 2021 10:00 pm
Forum: General discussion and questions about Aware IM
Topic: Secondary field Grid Sorting (user defined)
Replies: 2
Views: 4864

Re: Secondary field Grid Sorting (user defined)

Try this in the grid Init Script

config.sortable = { mode: "multiple" }
by johntalbott
Fri Jul 23, 2021 9:16 pm
Forum: General discussion and questions about Aware IM
Topic: 2 Line Caption Heading on Query
Replies: 13
Views: 13857

Re: 2 Line Caption Heading on Query

Try this ...

Init Script

Code: Select all

config.columns[columnIndex] = {
   title: "Un-Earned",
   columns: [
     { field: "BOAttributeName", title: "Discount" }
   ]
  }
by johntalbott
Mon Jul 12, 2021 3:02 am
Forum: General discussion and questions about Aware IM
Topic: Grid refresh woes
Replies: 1
Views: 9397

Re: Grid refresh woes

ACDC wrote: Sun Jul 11, 2021 3:54 pm Does it not make sense to have a grid line item refresh rather than the whole form refresh
Indeed, it does make sense. Unnecessary UI refreshes make for a poor UX.
by johntalbott
Fri Jun 04, 2021 10:58 pm
Forum: General discussion and questions about Aware IM
Topic: Force selection of first record on query result.
Replies: 26
Views: 27214

Re: Force selection of first record on query result.

Just to be sure ... this is with "Select first record" unchecked?

What happens if you remove this line?

Code: Select all

grid.select().click();
by johntalbott
Fri Jun 04, 2021 8:33 pm
Forum: General discussion and questions about Aware IM
Topic: Force selection of first record on query result.
Replies: 26
Views: 27214

Re: Force selection of first record on query result.

Make sure "Select first record" is unchecked.
by johntalbott
Fri Jun 04, 2021 2:38 am
Forum: General discussion and questions about Aware IM
Topic: Force selection of first record on query result.
Replies: 26
Views: 27214

Re: Force selection of first record on query result.

Try this ...

Code: Select all

widget.bind("dataBound", function (e) {
    const grid = e.sender;
    const row = grid.table.find("tr:eq(0)");
    
    parser.highlightRow(row, grid); // This is what highlights (selects) the row.
    grid.select().click();  // This is only needed to run the default row operation.
})
by johntalbott
Thu Jun 03, 2021 5:25 pm
Forum: General discussion and questions about Aware IM
Topic: Pimp My App
Replies: 7
Views: 9452

Re: Pimp My App

In short, there is likely a way to accomplish your goal in some way. It would be best to see your specific use case. In this particular example, a few notes: 1. Throughout the process of entering auto quote information, the right navigation section can be referenced to view information that has been...
by johntalbott
Thu Jun 03, 2021 5:06 am
Forum: General discussion and questions about Aware IM
Topic: Pimp My App
Replies: 7
Views: 9452

Pimp My App

Here is a brief walk-thru of an AwareIM app demonstrating some enhanced look, feel and functionality possibilities. https://screencast-o-matic.com/watch/cr1efTVhvWc Contact me to take live look and/or discuss project/business opportunities. Thanks, JT Email: johntalbott@live.com Skype: johnptalbott
by johntalbott
Thu Jun 03, 2021 1:35 am
Forum: General discussion and questions about Aware IM
Topic: Force selection of first record on query result.
Replies: 26
Views: 27214

Re: Force selection of first record on query result.

Are there errors in the browser console?

A quick screencast demonstrating the problem would help a lot.